summaryrefslogtreecommitdiffstats
path: root/kode/enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/enum.cpp')
-rw-r--r--kode/enum.cpp12
1 files changed, 6 insertions, 6 deletions
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;