diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/resizablecombo.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/resizablecombo.h')
-rw-r--r-- | lib/widgets/resizablecombo.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/widgets/resizablecombo.h b/lib/widgets/resizablecombo.h index 5c417378..b76b4f7e 100644 --- a/lib/widgets/resizablecombo.h +++ b/lib/widgets/resizablecombo.h @@ -19,8 +19,8 @@ #ifndef RESIZABLECOMBO_H #define RESIZABLECOMBO_H -#include <qpushbutton.h> -#include <qpoint.h> +#include <tqpushbutton.h> +#include <tqpoint.h> class KComboView; class QMouseEvent; @@ -38,7 +38,7 @@ Used to place resizable KComboBox onto toolbars. class ResizableCombo: public QWidget{ Q_OBJECT public: - ResizableCombo(KComboView *view, QWidget *parent = 0, const char *name = 0); + ResizableCombo(KComboView *view, TQWidget *parent = 0, const char *name = 0); private: MyPushButton *m_sizer; @@ -52,19 +52,19 @@ class MyPushButton: public QPushButton public: MyPushButton(ResizableCombo *parent = 0, const char *name = 0 ); - QPoint pressedPos() + TQPoint pressedPos() { return m_pressedPos; } protected: - virtual void mouseReleaseEvent ( QMouseEvent * e ); - virtual void mousePressEvent ( QMouseEvent * e ); - virtual void mouseMoveEvent ( QMouseEvent * e ); + virtual void mouseReleaseEvent ( TQMouseEvent * e ); + virtual void mousePressEvent ( TQMouseEvent * e ); + virtual void mouseMoveEvent ( TQMouseEvent * e ); private: bool m_resizing; - QPoint m_pressedPos; + TQPoint m_pressedPos; int m_width; ResizableCombo *m_combo; }; |