summaryrefslogtreecommitdiffstats
path: root/lib/catalog
diff options
context:
space:
mode:
Diffstat (limited to 'lib/catalog')
-rw-r--r--lib/catalog/catalog.cpp4
-rw-r--r--lib/catalog/tag.h6
2 files changed, 5 insertions, 5 deletions
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<TQCString, DB*>::Iterator it = d->indexList.tqfind( name );
+ TQMap<TQCString, DB*>::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<TQCString, TQVariant>::iterator it = data->attributes.tqfind( "tpl" );
+ TQMap<TQCString, TQVariant>::iterator it = data->attributes.find( "tpl" );
if( it != data->attributes.end() && (*it).type() == TQVariant::StringList ) {
}else{
it = data->attributes.insert( "tpl", TQVariant( TQStringList() ) );