#include <qtextstream.h>
Definition at line 73 of file qtextstream.h.
Public Types | |
enum | RealNumberNotation { SmartNotation, FixedNotation, ScientificNotation } |
enum | FieldAlignment { AlignLeft, AlignRight, AlignCenter, AlignAccountingStyle } |
enum | Status { Ok, ReadPastEnd, ReadCorruptData, WriteFailed } |
enum | NumberFlag { ShowBase = 0x1, ForcePoint = 0x2, ForceSign = 0x4, UppercaseBase = 0x8, UppercaseDigits = 0x10 } |
enum RealNumberNotation |
Enumerator | |
---|---|
SmartNotation | |
FixedNotation | |
ScientificNotation |
Definition at line 78 of file qtextstream.h.
enum FieldAlignment |
Enumerator | |
---|---|
AlignLeft | |
AlignRight | |
AlignCenter | |
AlignAccountingStyle |
Definition at line 83 of file qtextstream.h.
enum Status |
Enumerator | |
---|---|
Ok | |
ReadPastEnd | |
ReadCorruptData | |
WriteFailed |
Definition at line 89 of file qtextstream.h.
enum NumberFlag |
Enumerator | |
---|---|
ShowBase | |
ForcePoint | |
ForceSign | |
UppercaseBase | |
UppercaseDigits |
Definition at line 95 of file qtextstream.h.
QTextStream | ( | ) |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
virtual |
void setCodec | ( | QTextCodec * | codec | ) |
void setCodec | ( | const char * | codecName | ) |
QTextCodec* codec | ( | ) | const |
void setAutoDetectUnicode | ( | bool | enabled | ) |
bool autoDetectUnicode | ( | ) | const |
void setGenerateByteOrderMark | ( | bool | generate | ) |
bool generateByteOrderMark | ( | ) | const |
QLocale locale | ( | ) | const |
QIODevice* device | ( | ) | const |
void setString | ( | QString * | string, |
QIODevice::OpenMode | openMode = QIODevice::ReadWrite |
||
) |
Status status | ( | ) | const |
void resetStatus | ( | ) |
bool atEnd | ( | ) | const |
void flush | ( | ) |
bool seek | ( | qint64 | pos | ) |
qint64 pos | ( | ) | const |
void skipWhiteSpace | ( | ) |
QString readAll | ( | ) |
void setFieldAlignment | ( | FieldAlignment | alignment | ) |
FieldAlignment fieldAlignment | ( | ) | const |
QChar padChar | ( | ) | const |
int fieldWidth | ( | ) | const |
void setNumberFlags | ( | NumberFlags | flags | ) |
NumberFlags numberFlags | ( | ) | const |
int integerBase | ( | ) | const |
void setRealNumberNotation | ( | RealNumberNotation | notation | ) |
RealNumberNotation realNumberNotation | ( | ) | const |
int realNumberPrecision | ( | ) | const |
QTextStream& operator>> | ( | QChar & | ch | ) |
QTextStream& operator>> | ( | char & | ch | ) |
QTextStream& operator>> | ( | signed short & | i | ) |
QTextStream& operator>> | ( | unsigned short & | i | ) |
QTextStream& operator>> | ( | signed int & | i | ) |
QTextStream& operator>> | ( | unsigned int & | i | ) |
QTextStream& operator>> | ( | signed long & | i | ) |
QTextStream& operator>> | ( | unsigned long & | i | ) |
QTextStream& operator>> | ( | qlonglong & | i | ) |
QTextStream& operator>> | ( | qulonglong & | i | ) |
QTextStream& operator>> | ( | float & | f | ) |
QTextStream& operator>> | ( | double & | f | ) |
QTextStream& operator>> | ( | QString & | s | ) |
QTextStream& operator>> | ( | QByteArray & | array | ) |
QTextStream& operator>> | ( | char * | c | ) |
QTextStream& operator<< | ( | QBool | b | ) |
QTextStream& operator<< | ( | QChar | ch | ) |
QTextStream& operator<< | ( | char | ch | ) |
QTextStream& operator<< | ( | signed short | i | ) |
QTextStream& operator<< | ( | unsigned short | i | ) |
QTextStream& operator<< | ( | signed int | i | ) |
QTextStream& operator<< | ( | unsigned int | i | ) |
QTextStream& operator<< | ( | signed long | i | ) |
QTextStream& operator<< | ( | unsigned long | i | ) |
QTextStream& operator<< | ( | qlonglong | i | ) |
QTextStream& operator<< | ( | qulonglong | i | ) |
QTextStream& operator<< | ( | float | f | ) |
QTextStream& operator<< | ( | double | f | ) |
QTextStream& operator<< | ( | const QString & | s | ) |
QTextStream& operator<< | ( | const QByteArray & | array | ) |
QTextStream& operator<< | ( | const char * | c | ) |
QTextStream& operator<< | ( | const void * | ptr | ) |