QTextStream
#include <QtCore/QTextStream>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QTextStream
Overview
Public Types Index
enum FieldAlignment | |
enum NumberFlagShowBase 0x1, ForcePoint 0x2, ForceSign 0x4, UppercaseBase 0x8, UppercaseDigits 0x10 | |
enum RealNumberNotation | |
enum Status |
Public Functions Index
QTextStream () | |
QTextStream (QIODevice *device) | |
QTextStream (FILE *fileHandle, QIODevice::OpenMode openMode=QIODevice::ReadWrite) | |
QTextStream (QString *string, QIODevice::OpenMode openMode=QIODevice::ReadWrite) | |
QTextStream (QByteArray *array, QIODevice::OpenMode openMode=QIODevice::ReadWrite) | |
QTextStream (const QByteArray &array, QIODevice::OpenMode openMode=QIODevice::ReadOnly) | |
virtual | ~QTextStream () |
bool | atEnd () const |
bool | autoDetectUnicode () const |
QTextCodec * | codec () const |
QIODevice * | device () const |
FieldAlignment | fieldAlignment () const |
int | fieldWidth () const |
void | flush () |
bool | generateByteOrderMark () const |
int | integerBase () const |
QLocale | locale () const |
NumberFlags | numberFlags () const |
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) |
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) |
QChar | padChar () const |
qint64 | pos () const |
QString | read (qint64 maxlen) |
QString | readAll () |
QString | readLine (qint64 maxlen=0) |
RealNumberNotation | realNumberNotation () const |
int | realNumberPrecision () const |
void | reset () |
void | resetStatus () |
bool | seek (qint64 pos) |
void | setAutoDetectUnicode (bool enabled) |
void | setCodec (QTextCodec *codec) |
void | setCodec (const char *codecName) |
void | setDevice (QIODevice *device) |
void | setFieldAlignment (FieldAlignment alignment) |
void | setFieldWidth (int width) |
void | setGenerateByteOrderMark (bool generate) |
void | setIntegerBase (int base) |
void | setLocale (const QLocale &locale) |
void | setNumberFlags (NumberFlags flags) |
void | setPadChar (QChar ch) |
void | setRealNumberNotation (RealNumberNotation notation) |
void | setRealNumberPrecision (int precision) |
void | setStatus (Status status) |
void | setString (QString *string, QIODevice::OpenMode openMode=QIODevice::ReadWrite) |
void | skipWhiteSpace () |
Status | status () const |
QString * | string () const |
Public Types
- AlignLeft
- AlignRight
- AlignCenter
- AlignAccountingStyle
- ShowBase 0x1
- ForcePoint 0x2
- ForceSign 0x4
- UppercaseBase 0x8
- UppercaseDigits 0x10
- SmartNotation
- FixedNotation
- ScientificNotation
- Ok
- ReadPastEnd
- ReadCorruptData
- WriteFailed
Public Functions
virtual
Destructor.
bool
bool
FieldAlignment
int
void
bool
int
NumberFlags
qint64
RealNumberNotation
int
void
void
bool
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Status
QString *
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy