diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 21:17:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-01 21:17:46 +0000 |
commit | 21a1d3cffb820b001b0901f8e82d4c8bfc5e1683 (patch) | |
tree | ad9d08bc725d963acafab219a33699ae2d6e723c /client/config/crystalconfig.h | |
parent | 424422475d6f30da2b84041dcb2b13b425126f04 (diff) | |
download | twin-style-crystal-21a1d3cffb820b001b0901f8e82d4c8bfc5e1683.tar.gz twin-style-crystal-21a1d3cffb820b001b0901f8e82d4c8bfc5e1683.zip |
TQt4 port kwin-style-crystal
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kwin-style-crystal@1239032 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'client/config/crystalconfig.h')
-rw-r--r-- | client/config/crystalconfig.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/client/config/crystalconfig.h b/client/config/crystalconfig.h index 5bdc0fb..24e496e 100644 --- a/client/config/crystalconfig.h +++ b/client/config/crystalconfig.h @@ -22,7 +22,7 @@ #ifndef CRYSTALCONFIG_H #define CRYSTALCONFIG_H -#include <qobject.h> +#include <tqobject.h> #define TOP_LEFT 1 #define TOP_RIGHT 2 @@ -32,11 +32,12 @@ class KConfig; class ConfigDialog; -class CrystalConfig : public QObject +class CrystalConfig : public TQObject { Q_OBJECT + TQ_OBJECT public: - CrystalConfig(KConfig* config, QWidget* parent); + CrystalConfig(KConfig* config, TQWidget* tqparent); ~CrystalConfig(); signals: @@ -53,9 +54,9 @@ protected slots: void overlay_active_changed(int); void overlay_inactive_changed(int); void boolChanged(bool) { selectionChanged(0); } - void colorChanged(const QColor&) { selectionChanged(0); } - void textChanged(const QString&) { selectionChanged(0); } - void logoTextChanged(const QString&); + void colorChanged(const TQColor&) { selectionChanged(0); } + void textChanged(const TQString&) { selectionChanged(0); } + void logoTextChanged(const TQString&); private: KConfig *config_; |