summaryrefslogtreecommitdiffstats
path: root/kode/class.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/class.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kode/class.cpp')
-rw-r--r--kode/class.cpp24
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;
}