Dongxu Ma > Qt-Core-0.01_05 > Qt::Core::QTextStream

Download:
Qt-Core-0.01_05.tar.gz

Dependencies

Annotate this POD

Module Version: 0.01_05   Source  

NAME ^

Qt::Core::QTextStream

PUBLIC METHODS ^

QTextStream()
QTextStream(QIODevice * device)
QTextStream(FILE * fileHandle, QFlags<QIODevice::OpenModeFlag> openMode)
QTextStream(FILE * fileHandle, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadWrite)
QTextStream(QString * string, QFlags<QIODevice::OpenModeFlag> openMode)
QTextStream(QString * string, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadWrite)
QTextStream(QByteArray * array, QFlags<QIODevice::OpenModeFlag> openMode)
QTextStream(QByteArray * array, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadWrite)
QTextStream(const QByteArray & array, QFlags<QIODevice::OpenModeFlag> openMode)
QTextStream(const QByteArray & array, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadOnly)
~QTextStream()
bool atEnd()
bool autoDetectUnicode()
QTextCodec * codec()
QIODevice * device()
QTextStream::FieldAlignment fieldAlignment()
int fieldWidth()
void flush()
bool generateByteOrderMark()
int integerBase()
QLocale locale()
QFlags<QTextStream::NumberFlag> numberFlags()
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()
qint64 pos()
QString read(qint64 maxlen)
QString readAll()
QString readLine(qint64 maxlen)
QString readLine(qint64 maxlen = 0)
QTextStream::RealNumberNotation realNumberNotation()
int realNumberPrecision()
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(QTextStream::FieldAlignment alignment)
void setFieldWidth(int width)
void setGenerateByteOrderMark(bool generate)
void setIntegerBase(int base)
void setLocale(const QLocale & locale)
void setNumberFlags(QFlags<QTextStream::NumberFlag> flags)
void setPadChar(QChar ch)
void setRealNumberNotation(QTextStream::RealNumberNotation notation)
void setRealNumberPrecision(int precision)
void setStatus(QTextStream::Status status)
void setString(QString * string, QFlags<QIODevice::OpenModeFlag> openMode)
void setString(QString * string, QFlags<QIODevice::OpenModeFlag> openMode = QIODevice::ReadWrite)
void skipWhiteSpace()
QTextStream::Status status()
QString * string()

ENUM VALUES ^

SmartNotation
FixedNotation
ScientificNotation
AlignLeft
AlignRight
AlignCenter
AlignAccountingStyle
Ok
ReadPastEnd
ReadCorruptData
ShowBase
ForcePoint
ForceSign
UppercaseBase
UppercaseDigits

EXPORT

None by default.

AUTHOR ^

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html

syntax highlighting: