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 --- kresources/slox/sloxbase.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kresources/slox/sloxbase.cpp') diff --git a/kresources/slox/sloxbase.cpp b/kresources/slox/sloxbase.cpp index c5899059..3871a2c7 100644 --- a/kresources/slox/sloxbase.cpp +++ b/kresources/slox/sloxbase.cpp @@ -22,7 +22,7 @@ #include #include -static QString mFieldNameMap[][2] = +static TQString mFieldNameMap[][2] = { // SLOX, OX {"sloxid", "object_id"}, // system fields @@ -106,14 +106,14 @@ SloxBase::SloxBase( KRES::Resource * res ) : { } -QString SloxBase::decodeText( const QString & text ) +TQString SloxBase::decodeText( const TQString & text ) { if ( mRes->type() == "ox" ) return text; - return QString::fromUtf8( text.latin1() ); + return TQString::fromUtf8( text.latin1() ); } -QString SloxBase::fieldName( Field f ) +TQString SloxBase::fieldName( Field f ) { int t = 0; if ( mRes->type() == "ox" ) @@ -121,12 +121,12 @@ QString SloxBase::fieldName( Field f ) return mFieldNameMap[f][t]; } -QString SloxBase::resType( ) const +TQString SloxBase::resType( ) const { return mRes->type(); } -QString SloxBase::boolToStr( bool b ) +TQString SloxBase::boolToStr( bool b ) { if ( mRes->type() == "ox" ) { if ( b ) -- cgit v1.2.3