summaryrefslogtreecommitdiffstats
path: root/lib/catalog/catalog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/catalog/catalog.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
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
Diffstat (limited to 'lib/catalog/catalog.cpp')
-rw-r--r--lib/catalog/catalog.cpp8
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;