summaryrefslogtreecommitdiffstats
path: root/src/tools/ntqtextstream.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ntqtextstream.h')
-rw-r--r--src/tools/ntqtextstream.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/tools/ntqtextstream.h b/src/tools/ntqtextstream.h
index 7e7345d91..5277c960b 100644
--- a/src/tools/ntqtextstream.h
+++ b/src/tools/ntqtextstream.h
@@ -53,7 +53,7 @@ class TQTextDecoder;
class TQTextStreamPrivate;
-class Q_EXPORT TQTextStream // text stream class
+class TQ_EXPORT TQTextStream // text stream class
{
public:
enum Encoding { Locale, Latin1, Unicode, UnicodeNetworkOrder,
@@ -201,7 +201,7 @@ private: // Disabled copy constructor and operator=
typedef TQTextStream TQTS;
-class Q_EXPORT TQTextIStream : public TQTextStream {
+class TQ_EXPORT TQTextIStream : public TQTextStream {
public:
TQTextIStream( const TQString* s ) :
TQTextStream((TQString*)s,IO_ReadOnly) { }
@@ -217,7 +217,7 @@ private: // Disabled copy constructor and operator=
#endif
};
-class Q_EXPORT TQTextOStream : public TQTextStream {
+class TQ_EXPORT TQTextOStream : public TQTextStream {
public:
TQTextOStream( TQString* s ) :
TQTextStream(s,IO_WriteOnly) { }
@@ -292,7 +292,7 @@ inline TQChar TQTextStream::ts_getc()
typedef TQTextStream & (*TQTSFUNC)(TQTextStream &);// manipulator function
typedef int (TQTextStream::*TQTSMFI)(int); // manipulator w/int argument
-class Q_EXPORT TQTSManip { // text stream manipulator
+class TQ_EXPORT TQTSManip { // text stream manipulator
public:
TQTSManip( TQTSMFI m, int a ) { mf=m; arg=a; }
void exec( TQTextStream &s ) { (s.*mf)(arg); }
@@ -301,37 +301,37 @@ private:
int arg; // member function argument
};
-Q_EXPORT inline TQTextStream &operator>>( TQTextStream &s, TQTSFUNC f )
+TQ_EXPORT inline TQTextStream &operator>>( TQTextStream &s, TQTSFUNC f )
{ return (*f)( s ); }
-Q_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSFUNC f )
+TQ_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSFUNC f )
{ return (*f)( s ); }
-Q_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSManip m )
+TQ_EXPORT inline TQTextStream &operator<<( TQTextStream &s, TQTSManip m )
{ m.exec(s); return s; }
-Q_EXPORT TQTextStream &bin( TQTextStream &s ); // set bin notation
-Q_EXPORT TQTextStream &oct( TQTextStream &s ); // set oct notation
-Q_EXPORT TQTextStream &dec( TQTextStream &s ); // set dec notation
-Q_EXPORT TQTextStream &hex( TQTextStream &s ); // set hex notation
-Q_EXPORT TQTextStream &endl( TQTextStream &s ); // insert EOL ('\n')
-Q_EXPORT TQTextStream &flush( TQTextStream &s ); // flush output
-Q_EXPORT TQTextStream &ws( TQTextStream &s ); // eat whitespace on input
-Q_EXPORT TQTextStream &reset( TQTextStream &s ); // set default flags
+TQ_EXPORT TQTextStream &bin( TQTextStream &s ); // set bin notation
+TQ_EXPORT TQTextStream &oct( TQTextStream &s ); // set oct notation
+TQ_EXPORT TQTextStream &dec( TQTextStream &s ); // set dec notation
+TQ_EXPORT TQTextStream &hex( TQTextStream &s ); // set hex notation
+TQ_EXPORT TQTextStream &endl( TQTextStream &s ); // insert EOL ('\n')
+TQ_EXPORT TQTextStream &flush( TQTextStream &s ); // flush output
+TQ_EXPORT TQTextStream &ws( TQTextStream &s ); // eat whitespace on input
+TQ_EXPORT TQTextStream &reset( TQTextStream &s ); // set default flags
-Q_EXPORT inline TQTSManip qSetW( int w )
+TQ_EXPORT inline TQTSManip qSetW( int w )
{
TQTSMFI func = &TQTextStream::width;
return TQTSManip(func,w);
}
-Q_EXPORT inline TQTSManip qSetFill( int f )
+TQ_EXPORT inline TQTSManip qSetFill( int f )
{
TQTSMFI func = &TQTextStream::fill;
return TQTSManip(func,f);
}
-Q_EXPORT inline TQTSManip qSetPrecision( int p )
+TQ_EXPORT inline TQTSManip qSetPrecision( int p )
{
TQTSMFI func = &TQTextStream::precision;
return TQTSManip(func,p);