diff options
Diffstat (limited to 'doc/html/qstring-h.html')
| -rw-r--r-- | doc/html/qstring-h.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/qstring-h.html b/doc/html/qstring-h.html index a3c3dbef7..9a9eaab3e 100644 --- a/doc/html/qstring-h.html +++ b/doc/html/qstring-h.html @@ -260,7 +260,7 @@ public: static bool networkOrdered() { int wordSize; - bool bigEndian = FALSE; + bool bigEndian = false; tqSysInfo( &wordSize, &bigEndian ); return bigEndian; } @@ -396,9 +396,9 @@ inline bool operator>( TQChar c1, TQChar c2 ) { return !(c2>=c1); } // internal struct TQ_EXPORT TQStringData : public TQShared { TQStringData() : - TQShared(), unicode(0), ascii(0), len(0), issimpletext(TRUE), maxl(0), islatin1(FALSE) { ref(); } + TQShared(), unicode(0), ascii(0), len(0), issimpletext(true), maxl(0), islatin1(false) { ref(); } TQStringData(TQChar *u, uint l, uint m) : - TQShared(), unicode(u), ascii(0), len(l), issimpletext(FALSE), maxl(m), islatin1(FALSE) { } + TQShared(), unicode(u), ascii(0), len(l), issimpletext(false), maxl(m), islatin1(false) { } ~TQStringData() { if ( unicode ) delete[] ((char*)unicode); if ( ascii ) delete[] ascii; } @@ -410,7 +410,7 @@ struct TQ_EXPORT TQStringData : public TQShared { delete [] ascii; ascii = 0; } - issimpletext = FALSE; + issimpletext = false; } #ifdef Q_OS_MAC9 uint len; @@ -496,31 +496,31 @@ public: ; #endif - int find( TQChar c, int index=0, bool cs=TRUE ) const; - int find( char c, int index=0, bool cs=TRUE ) const; - int find( const TQString &str, int index=0, bool cs=TRUE ) const; + int find( TQChar c, int index=0, bool cs=true ) const; + int find( char c, int index=0, bool cs=true ) const; + int find( const TQString &str, int index=0, bool cs=true ) const; #ifndef TQT_NO_REGEXP int find( const TQRegExp &, int index=0 ) const; #endif #ifndef TQT_NO_CAST_ASCII int find( const char* str, int index=0 ) const; #endif - int findRev( TQChar c, int index=-1, bool cs=TRUE) const; - int findRev( char c, int index=-1, bool cs=TRUE) const; - int findRev( const TQString &str, int index=-1, bool cs=TRUE) const; + int findRev( TQChar c, int index=-1, bool cs=true) const; + int findRev( char c, int index=-1, bool cs=true) const; + int findRev( const TQString &str, int index=-1, bool cs=true) const; #ifndef TQT_NO_REGEXP int findRev( const TQRegExp &, int index=-1 ) const; #endif #ifndef TQT_NO_CAST_ASCII int findRev( const char* str, int index=-1 ) const; #endif - int contains( TQChar c, bool cs=TRUE ) const; - int contains( char c, bool cs=TRUE ) const + int contains( TQChar c, bool cs=true ) const; + int contains( char c, bool cs=true ) const { return contains(TQChar(c), cs); } #ifndef TQT_NO_CAST_ASCII - int contains( const char* str, bool cs=TRUE ) const; + int contains( const char* str, bool cs=true ) const; #endif - int contains( const TQString &str, bool cs=TRUE ) const; + int contains( const TQString &str, bool cs=true ) const; #ifndef TQT_NO_REGEXP int contains( const TQRegExp & ) const; #endif @@ -546,8 +546,8 @@ public: TQString right( uint len ) const; TQString mid( uint index, uint len=0xffffffff) const; - TQString leftJustify( uint width, TQChar fill=' ', bool trunc=FALSE)const; - TQString rightJustify( uint width, TQChar fill=' ',bool trunc=FALSE)const; + TQString leftJustify( uint width, TQChar fill=' ', bool trunc=false)const; + TQString rightJustify( uint width, TQChar fill=' ',bool trunc=false)const; TQString lower() const; TQString upper() const; @@ -585,7 +585,7 @@ public: #endif TQString &remove( uint index, uint len ); #if defined(Q_QDOC) - TQString &remove( const TQString & str, bool cs = TRUE ); + TQString &remove( const TQString & str, bool cs = true ); #else // ### TQt 4.0: merge these two into one, and remove Q_QDOC hack TQString &remove( const TQString & ); @@ -606,10 +606,10 @@ public: TQString &replace( uint index, uint len, char c ) { return replace( index, len, TQChar(c) ); } #if defined(Q_QDOC) - TQString &replace( TQChar c, const TQString & after, bool cs = TRUE ); - TQString &replace( char c, const TQString & after, bool cs = TRUE ); + TQString &replace( TQChar c, const TQString & after, bool cs = true ); + TQString &replace( char c, const TQString & after, bool cs = true ); TQString &replace( const TQString & before, const TQString & after, - bool cs = TRUE ); + bool cs = true ); #else // ### TQt 4.0: merge these two into one, and remove Q_QDOC hack TQString &replace( TQChar c, const TQString & ); @@ -617,7 +617,7 @@ public: // ### TQt 4.0: merge these two into one, and remove Q_QDOC hack TQString &replace( char c, const TQString & after ) - { return replace( TQChar(c), after, TRUE ); } + { return replace( TQChar(c), after, true ); } TQString &replace( char c, const TQString & after, bool cs ) { return replace( TQChar(c), after, cs ); } @@ -733,8 +733,8 @@ public: #endif #if defined(Q_QDOC) - bool startsWith( const TQString& str, bool cs = TRUE ) const; - bool endsWith( const TQString& str, bool cs = TRUE ) const; + bool startsWith( const TQString& str, bool cs = true ) const; + bool endsWith( const TQString& str, bool cs = true ) const; #else // ### TQt 4.0: merge these two into one, and remove Q_QDOC hack bool startsWith( const TQString& str ) const; |
