summaryrefslogtreecommitdiffstats
path: root/lib/catalog/tag.h
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/tag.h
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/tag.h')
-rw-r--r--lib/catalog/tag.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/catalog/tag.h b/lib/catalog/tag.h
index f796baa5..426358f4 100644
--- a/lib/catalog/tag.h
+++ b/lib/catalog/tag.h
@@ -122,7 +122,7 @@ public:
data->fileName = fileName;
}
- TQString path( const TQString& sep = TQString::fromLatin1("::") ) const
+ TQString path( const TQString& sep = TQString::tqfromLatin1("::") ) const
{
TQString s = scope().join( sep );
if( s.isNull() )
@@ -194,11 +194,11 @@ public:
if( hasAttribute( "spc" ) )
return data->attributes["spc"].asString();
else
- return TQString::null;
+ return TQString();
}
bool hasSpecializationDeclaration() const {
- return data->attributes.contains( "spc" );
+ return data->attributes.tqcontains( "spc" );
}
void setSpecializationDeclaration( const TQString& str ) {
@@ -216,7 +216,7 @@ public:
name == "endLine" ||
name == "endColumn" )
return true;
- return data->attributes.contains( name );
+ return data->attributes.tqcontains( 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.find( "tpl" );
+ TQMap<TQCString, TQVariant>::iterator it = data->attributes.tqfind( "tpl" );
if( it != data->attributes.end() && (*it).type() == TQVariant::StringList ) {
}else{
it = data->attributes.insert( "tpl", TQVariant( TQStringList() ) );
@@ -289,7 +289,7 @@ private:
void detach();
private:
- struct TagData: public QShared
+ struct TagData: public TQShared
{
TQCString id;
int kind;