summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/combobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/combobox.cpp')
-rw-r--r--kalarm/lib/combobox.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kalarm/lib/combobox.cpp b/kalarm/lib/combobox.cpp
index 7e0bea4bd..bb232ffe5 100644
--- a/kalarm/lib/combobox.cpp
+++ b/kalarm/lib/combobox.cpp
@@ -18,17 +18,17 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qlineedit.h>
+#include <tqlineedit.h>
#include "combobox.moc"
-ComboBox::ComboBox(QWidget* parent, const char* name)
- : QComboBox(parent, name),
+ComboBox::ComboBox(TQWidget* parent, const char* name)
+ : TQComboBox(parent, name),
mReadOnly(false)
{ }
-ComboBox::ComboBox(bool rw, QWidget* parent, const char* name)
- : QComboBox(rw, parent, name),
+ComboBox::ComboBox(bool rw, TQWidget* parent, const char* name)
+ : TQComboBox(rw, parent, name),
mReadOnly(false)
{ }
@@ -42,7 +42,7 @@ void ComboBox::setReadOnly(bool ro)
}
}
-void ComboBox::mousePressEvent(QMouseEvent* e)
+void ComboBox::mousePressEvent(TQMouseEvent* e)
{
if (mReadOnly)
{
@@ -50,29 +50,29 @@ void ComboBox::mousePressEvent(QMouseEvent* e)
if (e->button() == Qt::LeftButton)
return;
}
- QComboBox::mousePressEvent(e);
+ TQComboBox::mousePressEvent(e);
}
-void ComboBox::mouseReleaseEvent(QMouseEvent* e)
+void ComboBox::mouseReleaseEvent(TQMouseEvent* e)
{
if (!mReadOnly)
- QComboBox::mouseReleaseEvent(e);
+ TQComboBox::mouseReleaseEvent(e);
}
-void ComboBox::mouseMoveEvent(QMouseEvent* e)
+void ComboBox::mouseMoveEvent(TQMouseEvent* e)
{
if (!mReadOnly)
- QComboBox::mouseMoveEvent(e);
+ TQComboBox::mouseMoveEvent(e);
}
-void ComboBox::keyPressEvent(QKeyEvent* e)
+void ComboBox::keyPressEvent(TQKeyEvent* e)
{
if (!mReadOnly || e->key() == Qt::Key_Escape)
- QComboBox::keyPressEvent(e);
+ TQComboBox::keyPressEvent(e);
}
-void ComboBox::keyReleaseEvent(QKeyEvent* e)
+void ComboBox::keyReleaseEvent(TQKeyEvent* e)
{
if (!mReadOnly)
- QComboBox::keyReleaseEvent(e);
+ TQComboBox::keyReleaseEvent(e);
}