diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/tools/tqgarray.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/tools/tqgarray.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/tools/tqgarray.cpp b/experimental/tqtinterface/qt4/src/tools/tqgarray.cpp index f0e89f991..ca2675004 100644 --- a/experimental/tqtinterface/qt4/src/tools/tqgarray.cpp +++ b/experimental/tqtinterface/qt4/src/tools/tqgarray.cpp @@ -84,7 +84,7 @@ \internal - It only tqcontains a reference count and member functions to increment and + It only contains a reference count and member functions to increment and decrement it. Shared classes normally have internal classes that inherit TQShared and @@ -105,7 +105,7 @@ TQGArray is a strictly internal class that acts as base class for the TQMemArray template array. - It tqcontains an array of bytes and has no notion of an array element. + It contains an array of bytes and has no notion of an array element. */ @@ -364,7 +364,7 @@ TQGArray &TQGArray::assign( const TQGArray &a ) /*! Shallow copy. Dereference the current array and references the - array data \a d, which tqcontains \a len bytes. + array data \a d, which contains \a len bytes. Returns a reference to this array. Do not delete \a d later, because TQGArray takes care of that. @@ -596,12 +596,12 @@ void TQGArray::resetRawData( const char *d, uint len ) This function only compares whole cells, not bytes. */ -int TQGArray::tqfind( const char *d, uint index, uint sz ) const +int TQGArray::find( const char *d, uint index, uint sz ) const { index *= sz; if ( index >= shd->len ) { #if defined(TQT_CHECK_RANGE) - qWarning( "TQGArray::tqfind: Index %d out of range", index/sz ); + qWarning( "TQGArray::find: Index %d out of range", index/sz ); #endif return -1; } @@ -657,7 +657,7 @@ int TQGArray::tqfind( const char *d, uint index, uint sz ) const This function only compares whole cells, not bytes. */ -int TQGArray::tqcontains( const char *d, uint sz ) const +int TQGArray::contains( const char *d, uint sz ) const { register uint i = shd->len; int count = 0; |