summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxbase.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 /kresources/slox/sloxbase.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 'kresources/slox/sloxbase.cpp')
-rw-r--r--kresources/slox/sloxbase.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/slox/sloxbase.cpp b/kresources/slox/sloxbase.cpp
index c58990593..3871a2c7a 100644
--- a/kresources/slox/sloxbase.cpp
+++ b/kresources/slox/sloxbase.cpp
@@ -22,7 +22,7 @@
#include <kdebug.h>
#include <kresources/resource.h>
-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 )