summaryrefslogtreecommitdiffstats
path: root/src/tools/qgvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r--src/tools/qgvector.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp
index 154d07d..74d7435 100644
--- a/src/tools/qgvector.cpp
+++ b/src/tools/qgvector.cpp
@@ -236,7 +236,7 @@ bool QGVector::insert( uint index, Item d ) // insert item at index
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "QGVector::insert: Index %d out of range", index );
+ tqWarning( "QGVector::insert: Index %d out of range", index );
return FALSE;
}
#endif
@@ -259,7 +259,7 @@ bool QGVector::remove( uint index ) // remove item at index
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "QGVector::remove: Index %d out of range", index );
+ tqWarning( "QGVector::remove: Index %d out of range", index );
return FALSE;
}
#endif
@@ -275,7 +275,7 @@ QPtrCollection::Item QGVector::take( uint index ) // take out item
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "QGVector::take: Index %d out of range", index );
+ tqWarning( "QGVector::take: Index %d out of range", index );
return 0;
}
#endif
@@ -421,7 +421,7 @@ int QGVector::bsearch( Item d ) const // binary search; when sorted
return -1;
if ( !d ) {
#if defined(QT_CHECK_NULL)
- qWarning( "QGVector::bsearch: Cannot search for null object" );
+ tqWarning( "QGVector::bsearch: Cannot search for null object" );
#endif
return -1;
}
@@ -457,7 +457,7 @@ int QGVector::findRef( Item d, uint index) const // find exact item in vector
{
#if defined(QT_CHECK_RANGE)
if ( index > len ) { // range error
- qWarning( "QGVector::findRef: Index %d out of range", index );
+ tqWarning( "QGVector::findRef: Index %d out of range", index );
return -1;
}
#endif
@@ -472,7 +472,7 @@ int QGVector::find( Item d, uint index ) const // find equal item in vector
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "QGVector::find: Index %d out of range", index );
+ tqWarning( "QGVector::find: Index %d out of range", index );
return -1;
}
#endif
@@ -530,7 +530,7 @@ void QGVector::toList( QGList *list ) const // store items in list
void QGVector::warningIndexRange( uint i )
{
#if defined(QT_CHECK_RANGE)
- qWarning( "QGVector::operator[]: Index %d out of range", i );
+ tqWarning( "QGVector::operator[]: Index %d out of range", i );
#else
Q_UNUSED( i )
#endif