summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/combobox.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/combobox.h')
-rw-r--r--kalarm/lib/combobox.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/lib/combobox.h b/kalarm/lib/combobox.h
index d33ac147e..3f33a63db 100644
--- a/kalarm/lib/combobox.h
+++ b/kalarm/lib/combobox.h
@@ -21,13 +21,13 @@
#ifndef COMBOBOX_H
#define COMBOBOX_H
-#include <qcombobox.h>
+#include <tqcombobox.h>
/**
- * @short A QComboBox with read-only option.
+ * @short A TQComboBox with read-only option.
*
- * The ComboBox class is a QComboBox with a read-only option.
+ * The ComboBox class is a TQComboBox with a read-only option.
*
* The widget may be set as read-only. This has the same effect as disabling it, except
* that its appearance is unchanged.
@@ -42,13 +42,13 @@ class ComboBox : public QComboBox
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit ComboBox(QWidget* parent = 0, const char* name = 0);
+ explicit ComboBox(TQWidget* parent = 0, const char* name = 0);
/** Constructor.
* @param rw True for a read-write combo box, false for a read-only combo box.
* @param parent The parent object of this widget.
* @param name The name of this widget.
*/
- explicit ComboBox(bool rw, QWidget* parent = 0, const char* name = 0);
+ explicit ComboBox(bool rw, TQWidget* parent = 0, const char* name = 0);
/** Returns true if the widget is read only. */
bool isReadOnly() const { return mReadOnly; }
/** Sets whether the combo box is read-only for the user. If read-only,
@@ -57,11 +57,11 @@ class ComboBox : public QComboBox
*/
virtual void setReadOnly(bool readOnly);
protected:
- virtual void mousePressEvent(QMouseEvent*);
- virtual void mouseReleaseEvent(QMouseEvent*);
- virtual void mouseMoveEvent(QMouseEvent*);
- virtual void keyPressEvent(QKeyEvent*);
- virtual void keyReleaseEvent(QKeyEvent*);
+ virtual void mousePressEvent(TQMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
+ virtual void mouseMoveEvent(TQMouseEvent*);
+ virtual void keyPressEvent(TQKeyEvent*);
+ virtual void keyReleaseEvent(TQKeyEvent*);
private:
bool mReadOnly; // value cannot be changed
};