47 #ifndef QT_NO_TEXTSTREAM 57 UnicodeReverse, RawUnicode, UnicodeUTF8 };
60 #ifndef QT_NO_TEXTCODEC 115 void skipWhiteSpace();
140 int setf(
int bits );
141 int setf(
int bits,
int mask );
142 int unsetf(
int bits );
175 void ts_ungetc(
QChar );
180 bool ts_isspace(
QChar);
181 bool ts_isdigit(
QChar);
186 double input_double();
191 #if defined(Q_DISABLE_COPY) 227 {
return dev ? dev->atEnd() :
FALSE; }
236 {
int oldf =
fflags; fflags =
f;
return oldf; }
239 {
int oldf =
fflags; fflags |= bits;
return oldf; }
242 {
int oldf =
fflags; fflags = (fflags & ~mask) | (bits & mask);
return oldf; }
245 {
int oldf =
fflags; fflags &= ~bits;
return oldf; }
251 {
int oldw =
fwidth; fwidth =
w;
return oldw; }
257 {
int oldc =
fillchar; fillchar =
f;
return oldc; }
263 {
int oldp =
fprec; fprec =
p;
return oldp; }
288 {
return (*f)(
s ); }
291 {
return (*f)(
s ); }
294 { m.
exec(s);
return s; }
324 #ifndef QT_ALTERNATE_QTSMANIP 350 #endif // QT_NO_TEXTSTREAM 351 #endif // QTEXTSTREAM_H
QTextIStream(QByteArray ba)
Q_EXPORT QTextStream & endl(QTextStream &s)
void exec(QTextStream &s)
uint ts_getbuf(QChar *, uint)
QTSManip(QTSMFI m, int a)
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Q_EXPORT QTSManip qSetFill(int f)
The QChar class provides a light-weight Unicode character.
Q_EXPORT QTSManip setprecision(int p)
Q_EXPORT QTextStream & oct(QTextStream &s)
A convenience class for input streams.
static bool networkOrdered()
Q_EXPORT QTextStream & flush(QTextStream &s)
Q_EXPORT QTSManip qSetPrecision(int p)
Q_EXPORT QTextStream & hex(QTextStream &s)
int(QTextStream::* QTSMFI)(int)
QTextOStream(QByteArray ba)
Q_EXPORT QTSManip qSetW(int w)
static const int adjustfield
Q_EXPORT QTSManip setw(int w)
Q_EXPORT QTextStream & reset(QTextStream &s)
static const int floatfield
The QTextStream class provides basic functions for reading and writing text using a QIODevice...
A convenience class for output streams.
static const int basefield
Q_EXPORT QTextStream & ws(QTextStream &s)
Q_EXPORT QTextStream & dec(QTextStream &s)
QTextStream &(* QTSFUNC)(QTextStream &)
Q_EXPORT QTextStream & operator>>(QTextStream &s, QTSFUNC f)
QIODevice * device() const
int read(int, char *, size_t)
Read bytes from a file descriptor.
Q_EXPORT QTextStream & bin(QTextStream &s)
Provides conversion between text encodings.
Q_EXPORT QTextStream & operator<<(QTextStream &s, QTSFUNC f)
The QIODevice class is the base class of I/O devices.
Q_EXPORT QTSManip setfill(int f)