From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/enum.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kode/enum.cpp') diff --git a/kode/enum.cpp b/kode/enum.cpp index 3d8ac6081..64bf8f790 100644 --- a/kode/enum.cpp +++ b/kode/enum.cpp @@ -28,22 +28,22 @@ Enum::Enum() { } -Enum::Enum( const QString &name, const QStringList &enums, bool combinable ) +Enum::Enum( const TQString &name, const TQStringList &enums, bool combinable ) : mName( name ), mEnums( enums ), mCombinable( combinable ) { } -QString Enum::declaration() const +TQString Enum::declaration() const { - QString retval( "enum " + mName + " {" ); + TQString retval( "enum " + mName + " {" ); uint value = 0; - QStringList::ConstIterator it; + TQStringList::ConstIterator it; for ( it = mEnums.begin(); it != mEnums.end(); ++it, ++value ) { if ( mCombinable ) { if ( it == mEnums.begin() ) - retval += QString( " %1 = %2" ).arg( *it ).arg( 1 << value ); + retval += TQString( " %1 = %2" ).arg( *it ).arg( 1 << value ); else - retval += QString( ", %1 = %2" ).arg( *it ).arg( 1 << value ); + retval += TQString( ", %1 = %2" ).arg( *it ).arg( 1 << value ); } else { if ( it == mEnums.begin() ) retval += " " + *it; -- cgit v1.2.1