summaryrefslogtreecommitdiffstats
path: root/lib/widgets/resizablecombo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/widgets/resizablecombo.h')
-rw-r--r--lib/widgets/resizablecombo.h16
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;
};