diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/oblique/cmodule.h | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip |
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/oblique/cmodule.h')
-rw-r--r-- | noatun-plugins/oblique/cmodule.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/noatun-plugins/oblique/cmodule.h b/noatun-plugins/oblique/cmodule.h index e935051..39bc7a9 100644 --- a/noatun-plugins/oblique/cmodule.h +++ b/noatun-plugins/oblique/cmodule.h @@ -16,9 +16,10 @@ class TQComboBox; class TQPushButton; class TQTabWidget; -class SchemaConfig : public QWidget +class SchemaConfig : public TQWidget { Q_OBJECT + TQ_OBJECT Oblique *mOblique; KListView *mSchemaTree; @@ -44,7 +45,7 @@ Q_OBJECT TQMap<TQString, QueryItem> mQueries; public: - SchemaConfig(TQWidget *parent, Oblique *oblique); + SchemaConfig(TQWidget *tqparent, Oblique *oblique); Oblique *oblique() { return mOblique; } @@ -81,9 +82,10 @@ private: class SliceListItem; -class SliceConfig : public QWidget +class SliceConfig : public TQWidget { Q_OBJECT + TQ_OBJECT Oblique *mOblique; KListView *mSliceList; TQPushButton *mAdd, *mRemove; @@ -91,7 +93,7 @@ Q_OBJECT TQValueList<Slice*> mRemovedItems; public: - SliceConfig(TQWidget *parent, Oblique *oblique); + SliceConfig(TQWidget *tqparent, Oblique *oblique); Oblique *oblique() { return mOblique; } void reopen(); @@ -108,12 +110,13 @@ private slots: class Configure : public CModule { Q_OBJECT + TQ_OBJECT TQTabWidget *tabs; SchemaConfig *schema; SliceConfig *slice; public: - Configure(Oblique *parent); + Configure(Oblique *tqparent); virtual void reopen(); virtual void save(); |