diff options
Diffstat (limited to 'kode/class.cpp')
-rw-r--r-- | kode/class.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kode/class.cpp b/kode/class.cpp index a65fac1ac..48c0e22f9 100644 --- a/kode/class.cpp +++ b/kode/class.cpp @@ -30,7 +30,7 @@ Class::Class() mBaseClasses.setAutoDelete( true ); } -Class::Class( const QString &name, const QString &nameSpace ) +Class::Class( const TQString &name, const TQString &nameSpace ) : mName( name ), mNameSpace( nameSpace ) { } @@ -54,7 +54,7 @@ Class &Class::operator=( const Class &c ) mEnums = c.mEnums; mDocs = c.mDocs; - QPtrListIterator<Class> it( c.mBaseClasses ); + TQPtrListIterator<Class> it( c.mBaseClasses ); while( it.current() ) { mBaseClasses.append( new Class( *( it.current() ) ) ); ++it; @@ -65,18 +65,18 @@ Class &Class::operator=( const Class &c ) return *this; } -void Class::setName( const QString &name ) +void Class::setName( const TQString &name ) { mName = name; } -void Class::setNameSpace( const QString &nameSpace ) +void Class::setNameSpace( const TQString &nameSpace ) { mNameSpace = nameSpace; } -void Class::addInclude( const QString &include, - const QString &forwardDeclaration ) +void Class::addInclude( const TQString &include, + const TQString &forwardDeclaration ) { if ( mIncludes.find( include ) == mIncludes.end() ) { mIncludes.append( include ); @@ -89,7 +89,7 @@ void Class::addInclude( const QString &include, } } -void Class::addHeaderInclude( const QString &include ) +void Class::addHeaderInclude( const TQString &include ) { if ( include.isEmpty() ) return; @@ -99,9 +99,9 @@ void Class::addHeaderInclude( const QString &include ) } } -void Class::addHeaderIncludes( const QStringList &includes ) +void Class::addHeaderIncludes( const TQStringList &includes ) { - QStringList::ConstIterator it; + TQStringList::ConstIterator it; for ( it = includes.begin(); it != includes.end(); ++it ) addHeaderInclude( *it ); } @@ -125,7 +125,7 @@ Class::List Class::baseClasses() const { Class::List b; - QPtrListIterator<Class> it( mBaseClasses ); + TQPtrListIterator<Class> it( mBaseClasses ); while( it.current() ) { b.append( Class( *( it.current() ) ) ); ++it; @@ -149,7 +149,7 @@ bool Class::isValid() const return !mName.isEmpty(); } -bool Class::hasFunction( const QString &functionName ) const +bool Class::hasFunction( const TQString &functionName ) const { Function::List::ConstIterator it; for( it = mFunctions.begin(); it != mFunctions.end(); ++it ) { @@ -170,7 +170,7 @@ bool Class::isQObject() const return false; } -void Class::setDocs( const QString &str ) +void Class::setDocs( const TQString &str ) { mDocs = str; } |