summaryrefslogtreecommitdiffstats
path: root/src/tools/qgvector.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/tools/qgvector.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'src/tools/qgvector.cpp')
-rw-r--r--src/tools/qgvector.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tools/qgvector.cpp b/src/tools/qgvector.cpp
index 90bb88e07..af896ab72 100644
--- a/src/tools/qgvector.cpp
+++ b/src/tools/qgvector.cpp
@@ -236,7 +236,7 @@ bool TQGVector::insert( uint index, Item d ) // insert item at index
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "TQGVector::insert: Index %d out of range", index );
+ tqWarning( "TQGVector::insert: Index %d out of range", index );
return FALSE;
}
#endif
@@ -259,7 +259,7 @@ bool TQGVector::remove( uint index ) // remove item at index
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "TQGVector::remove: Index %d out of range", index );
+ tqWarning( "TQGVector::remove: Index %d out of range", index );
return FALSE;
}
#endif
@@ -275,7 +275,7 @@ TQPtrCollection::Item TQGVector::take( uint index ) // take out item
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "TQGVector::take: Index %d out of range", index );
+ tqWarning( "TQGVector::take: Index %d out of range", index );
return 0;
}
#endif
@@ -406,8 +406,8 @@ void TQGVector::sort() // sort vector
}
#ifdef QT_THREAD_SUPPORT
- TQMutexLocker locker( qt_global_mutexpool ?
- qt_global_mutexpool->get( &sort_vec ) : 0 );
+ TQMutexLocker locker( tqt_global_mutexpool ?
+ tqt_global_mutexpool->get( &sort_vec ) : 0 );
#endif // QT_THREAD_SUPPORT
sort_vec = (TQGVector*)this;
@@ -421,7 +421,7 @@ int TQGVector::bsearch( Item d ) const // binary search; when sorted
return -1;
if ( !d ) {
#if defined(QT_CHECK_NULL)
- qWarning( "TQGVector::bsearch: Cannot search for null object" );
+ tqWarning( "TQGVector::bsearch: Cannot search for null object" );
#endif
return -1;
}
@@ -457,7 +457,7 @@ int TQGVector::findRef( Item d, uint index) const // find exact item in vector
{
#if defined(QT_CHECK_RANGE)
if ( index > len ) { // range error
- qWarning( "TQGVector::findRef: Index %d out of range", index );
+ tqWarning( "TQGVector::findRef: Index %d out of range", index );
return -1;
}
#endif
@@ -472,7 +472,7 @@ int TQGVector::find( Item d, uint index ) const // find equal item in vector
{
#if defined(QT_CHECK_RANGE)
if ( index >= len ) { // range error
- qWarning( "TQGVector::find: Index %d out of range", index );
+ tqWarning( "TQGVector::find: Index %d out of range", index );
return -1;
}
#endif
@@ -530,7 +530,7 @@ void TQGVector::toList( TQGList *list ) const // store items in list
void TQGVector::warningIndexRange( uint i )
{
#if defined(QT_CHECK_RANGE)
- qWarning( "TQGVector::operator[]: Index %d out of range", i );
+ tqWarning( "TQGVector::operator[]: Index %d out of range", i );
#else
Q_UNUSED( i )
#endif