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.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kalarm/lib/combobox.cpp b/kalarm/lib/combobox.cpp
index bb232ffe..0c526cae 100644
--- a/kalarm/lib/combobox.cpp
+++ b/kalarm/lib/combobox.cpp
@@ -22,13 +22,13 @@
#include "combobox.moc"
-ComboBox::ComboBox(TQWidget* parent, const char* name)
- : TQComboBox(parent, name),
+ComboBox::ComboBox(TQWidget* tqparent, const char* name)
+ : TQComboBox(tqparent, name),
mReadOnly(false)
{ }
-ComboBox::ComboBox(bool rw, TQWidget* parent, const char* name)
- : TQComboBox(rw, parent, name),
+ComboBox::ComboBox(bool rw, TQWidget* tqparent, const char* name)
+ : TQComboBox(rw, tqparent, name),
mReadOnly(false)
{ }
@@ -47,7 +47,7 @@ void ComboBox::mousePressEvent(TQMouseEvent* e)
if (mReadOnly)
{
// Swallow up the event if it's the left button
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
return;
}
TQComboBox::mousePressEvent(e);
@@ -67,7 +67,7 @@ void ComboBox::mouseMoveEvent(TQMouseEvent* e)
void ComboBox::keyPressEvent(TQKeyEvent* e)
{
- if (!mReadOnly || e->key() == Qt::Key_Escape)
+ if (!mReadOnly || e->key() == TQt::Key_Escape)
TQComboBox::keyPressEvent(e);
}