summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopeteprefs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/kopeteprefs.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/kopeteprefs.h')
-rw-r--r--kopete/libkopete/kopeteprefs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kopete/libkopete/kopeteprefs.h b/kopete/libkopete/kopeteprefs.h
index dede4664..c2d6e291 100644
--- a/kopete/libkopete/kopeteprefs.h
+++ b/kopete/libkopete/kopeteprefs.h
@@ -26,12 +26,13 @@
class KConfig;
-class KOPETE_EXPORT KopetePrefs : public QObject
+class KOPETE_EXPORT KopetePrefs : public TQObject
{
Q_OBJECT
- // here so we can use Qt to translate enums<-->strings
- Q_PROPERTY( ContactDisplayMode contactListDisplayMode READ contactListDisplayMode WRITE setContactListDisplayMode )
- Q_PROPERTY( IconDisplayMode contactListIconMode READ contactListIconMode WRITE setContactListIconMode )
+ TQ_OBJECT
+ // here so we can use TQt to translate enums<-->strings
+ TQ_PROPERTY( ContactDisplayMode contactListDisplayMode READ contactListDisplayMode WRITE setContactListDisplayMode )
+ TQ_PROPERTY( IconDisplayMode contactListIconMode READ contactListIconMode WRITE setContactListIconMode )
Q_ENUMS( ContactDisplayMode IconDisplayMode )
public:
@@ -100,7 +101,7 @@ public:
int chatWindowPolicy() const { return mChatWindowPolicy; }
//Styles
- TQString defaultTheme() const { return TQString::fromLatin1("Default"); }
+ TQString defaultTheme() const { return TQString::tqfromLatin1("Default"); }
//for Adium (xhtml+css)
TQString stylePath() const { return mStylePath; }
TQString styleVariant() const { return mStyleVariant; }