summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/checkbox.cpp')
-rw-r--r--kalarm/lib/checkbox.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/lib/checkbox.cpp b/kalarm/lib/checkbox.cpp
index dde0d10ff..cff6cdb17 100644
--- a/kalarm/lib/checkbox.cpp
+++ b/kalarm/lib/checkbox.cpp
@@ -21,15 +21,15 @@
#include "checkbox.moc"
-CheckBox::CheckBox(TQWidget* parent, const char* name)
- : TQCheckBox(parent, name),
+CheckBox::CheckBox(TQWidget* tqparent, const char* name)
+ : TQCheckBox(tqparent, name),
mFocusPolicy(focusPolicy()),
mFocusWidget(0),
mReadOnly(false)
{ }
-CheckBox::CheckBox(const TQString& text, TQWidget* parent, const char* name)
- : TQCheckBox(text, parent, name),
+CheckBox::CheckBox(const TQString& text, TQWidget* tqparent, const char* name)
+ : TQCheckBox(text, tqparent, name),
mFocusPolicy(focusPolicy()),
mFocusWidget(0),
mReadOnly(false)
@@ -86,7 +86,7 @@ void CheckBox::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;
}
TQCheckBox::mousePressEvent(e);
@@ -97,7 +97,7 @@ void CheckBox::mouseReleaseEvent(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;
}
TQCheckBox::mouseReleaseEvent(e);
@@ -114,10 +114,10 @@ void CheckBox::keyPressEvent(TQKeyEvent* e)
if (mReadOnly)
switch (e->key())
{
- case Qt::Key_Up:
- case Qt::Key_Left:
- case Qt::Key_Right:
- case Qt::Key_Down:
+ case TQt::Key_Up:
+ case TQt::Key_Left:
+ case TQt::Key_Right:
+ case TQt::Key_Down:
// Process keys which shift the focus
break;
default: