diff options
Diffstat (limited to 'lib/catalog/catalog.cpp')
-rw-r--r-- | lib/catalog/catalog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/catalog/catalog.cpp b/lib/catalog/catalog.cpp index c58bbe7d..5ece8b2b 100644 --- a/lib/catalog/catalog.cpp +++ b/lib/catalog/catalog.cpp @@ -48,7 +48,7 @@ struct _Catalog_Private bool hasIndex( const TQCString& name ) const { - return indexList.contains( name ); + return indexList.tqcontains( name ); } DB* index( const TQCString& name ) @@ -172,7 +172,7 @@ void Catalog::setEnabled( bool isEnabled ) { Q_ASSERT( d->dbp != 0 ); - TQMap<TQCString, DB*>::Iterator it = d->indexList.find( name ); + TQMap<TQCString, DB*>::Iterator it = d->indexList.tqfind( name ); if( it == d->indexList.end() ){ DB* dbp = 0; @@ -213,7 +213,7 @@ void Catalog::setEnabled( bool isEnabled ) void Catalog::close() { - d->dbName = TQString::null; + d->dbName = TQString(); TQMap<TQCString, DB*>::Iterator it = d->indexList.begin(); while( it != d->indexList.end() ){ @@ -369,7 +369,7 @@ void Catalog::setEnabled( bool isEnabled ) DBC** cursors = new DBC* [ args.size() + 1 ]; - TQValueList< QPair<TQCString,TQVariant> >::ConstIterator it = args.begin(); + TQValueList< TQPair<TQCString,TQVariant> >::ConstIterator it = args.begin(); int current = 0; while( it != args.end() ){ TQCString indexName = (*it).first; |