diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/widgets/resizablecombo.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/resizablecombo.h')
-rw-r--r-- | lib/widgets/resizablecombo.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/widgets/resizablecombo.h b/lib/widgets/resizablecombo.h index 9301ddea..bafefe33 100644 --- a/lib/widgets/resizablecombo.h +++ b/lib/widgets/resizablecombo.h @@ -35,10 +35,11 @@ Resizable combo box. Resizable combo box. Used to place resizable KComboBox onto toolbars. */ -class ResizableCombo: public QWidget{ +class ResizableCombo: public TQWidget{ Q_OBJECT + TQ_OBJECT public: - ResizableCombo(KComboView *view, TQWidget *parent = 0, const char *name = 0); + ResizableCombo(KComboView *view, TQWidget *tqparent = 0, const char *name = 0); private: MyPushButton *m_sizer; @@ -47,10 +48,10 @@ private: friend class MyPushButton; }; -class MyPushButton: public QPushButton +class MyPushButton: public TQPushButton { public: - MyPushButton(ResizableCombo *parent = 0, const char *name = 0 ); + MyPushButton(ResizableCombo *tqparent = 0, const char *name = 0 ); TQPoint pressedPos() { |