diff options
Diffstat (limited to 'qtools/qtextstream.h')
-rw-r--r-- | qtools/qtextstream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qtools/qtextstream.h b/qtools/qtextstream.h index d7adbd3..c5f5ba1 100644 --- a/qtools/qtextstream.h +++ b/qtools/qtextstream.h @@ -57,7 +57,10 @@ public: UnicodeReverse, RawUnicode, UnicodeUTF8 }; void setEncoding( Encoding ); +#ifndef QT_NO_TEXTCODEC void setCodec( QTextCodec* ); +#endif + // Encoding encoding() const { return cmode; } QTextStream(); @@ -89,6 +92,7 @@ public: QTextStream &operator>>( QString & ); QTextStream &operator>>( QCString & ); + QTextStream &operator<<( QChar ); QTextStream &operator<<( char ); QTextStream &operator<<( signed short ); QTextStream &operator<<( unsigned short ); |