From 48d4a26399959121f33d2bc3bfe51c7827b654fc Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 14 Jun 2011 16:45:05 +0000 Subject: TQt4 port kdevelop This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/catalog/catalog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/catalog/catalog.cpp') 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::Iterator it = d->indexList.find( name ); + TQMap::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::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 >::ConstIterator it = args.begin(); + TQValueList< TQPair >::ConstIterator it = args.begin(); int current = 0; while( it != args.end() ){ TQCString indexName = (*it).first; -- cgit v1.2.3