summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/tools/tqgarray.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
committerTimothy Pearson <[email protected]>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/tools/tqgarray.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/tools/tqgarray.cpp')
-rw-r--r--tqtinterface/qt4/src/tools/tqgarray.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tqtinterface/qt4/src/tools/tqgarray.cpp b/tqtinterface/qt4/src/tools/tqgarray.cpp
index f0e89f9..ca26750 100644
--- a/tqtinterface/qt4/src/tools/tqgarray.cpp
+++ b/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;