diff options
Diffstat (limited to 'kopete/libkopete/kopeteprefs.h')
-rw-r--r-- | kopete/libkopete/kopeteprefs.h | 11 |
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; } |