From 330c33ab6f97b279737bf9527c9add7bb1475450 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/catalog/catalog.cpp | 4 ++-- lib/catalog/tag.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/catalog') diff --git a/lib/catalog/catalog.cpp b/lib/catalog/catalog.cpp index 5ece8b2b..d8bff1bc 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.tqcontains( name ); + return indexList.contains( 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.tqfind( name ); + TQMap::Iterator it = d->indexList.find( name ); if( it == d->indexList.end() ){ DB* dbp = 0; diff --git a/lib/catalog/tag.h b/lib/catalog/tag.h index 426358f4..23b2efef 100644 --- a/lib/catalog/tag.h +++ b/lib/catalog/tag.h @@ -198,7 +198,7 @@ public: } bool hasSpecializationDeclaration() const { - return data->attributes.tqcontains( "spc" ); + return data->attributes.contains( "spc" ); } void setSpecializationDeclaration( const TQString& str ) { @@ -216,7 +216,7 @@ public: name == "endLine" || name == "endColumn" ) return true; - return data->attributes.tqcontains( name ); + return data->attributes.contains( name ); } TQVariant attribute( const TQCString& name ) const @@ -270,7 +270,7 @@ public: } void addTemplateParam( const TQString& param , const TQString& def = "" ) { - TQMap::iterator it = data->attributes.tqfind( "tpl" ); + TQMap::iterator it = data->attributes.find( "tpl" ); if( it != data->attributes.end() && (*it).type() == TQVariant::StringList ) { }else{ it = data->attributes.insert( "tpl", TQVariant( TQStringList() ) ); -- cgit v1.2.3