diff options
Diffstat (limited to 'experimental/tqtinterface/qt4/src/tools/tqgvector.cpp')
-rw-r--r-- | experimental/tqtinterface/qt4/src/tools/tqgvector.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/experimental/tqtinterface/qt4/src/tools/tqgvector.cpp b/experimental/tqtinterface/qt4/src/tools/tqgvector.cpp index e30c1723a..4151d54b5 100644 --- a/experimental/tqtinterface/qt4/src/tools/tqgvector.cpp +++ b/experimental/tqtinterface/qt4/src/tools/tqgvector.cpp @@ -453,11 +453,11 @@ int TQGVector::bsearch( Item d ) const // binary search; when sorted return mid; } -int TQGVector::tqfindRef( Item d, uint index) const // tqfind exact item in vector +int TQGVector::findRef( Item d, uint index) const // find exact item in vector { #if defined(TQT_CHECK_RANGE) if ( index > len ) { // range error - qWarning( "TQGVector::tqfindRef: Index %d out of range", index ); + qWarning( "TQGVector::findRef: Index %d out of range", index ); return -1; } #endif @@ -468,11 +468,11 @@ int TQGVector::tqfindRef( Item d, uint index) const // tqfind exact item in vect return -1; } -int TQGVector::tqfind( Item d, uint index ) const // tqfind equal item in vector +int TQGVector::find( Item d, uint index ) const // find equal item in vector { #if defined(TQT_CHECK_RANGE) if ( index >= len ) { // range error - qWarning( "TQGVector::tqfind: Index %d out of range", index ); + qWarning( "TQGVector::find: Index %d out of range", index ); return -1; } #endif @@ -485,7 +485,7 @@ int TQGVector::tqfind( Item d, uint index ) const // tqfind equal item in vector return -1; } -uint TQGVector::tqcontainsRef( Item d ) const // get number of exact matches +uint TQGVector::containsRef( Item d ) const // get number of exact matches { uint count = 0; for ( uint i=0; i<len; i++ ) { @@ -495,7 +495,7 @@ uint TQGVector::tqcontainsRef( Item d ) const // get number of exact matches return count; } -uint TQGVector::tqcontains( Item d ) const // get number of equal matches +uint TQGVector::contains( Item d ) const // get number of equal matches { uint count = 0; for ( uint i=0; i<len; i++ ) { |