summaryrefslogtreecommitdiffstats
path: root/kalarm/lib/radiobutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib/radiobutton.cpp')
-rw-r--r--kalarm/lib/radiobutton.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/lib/radiobutton.cpp b/kalarm/lib/radiobutton.cpp
index 7cf58f08..d0809788 100644
--- a/kalarm/lib/radiobutton.cpp
+++ b/kalarm/lib/radiobutton.cpp
@@ -21,15 +21,15 @@
#include "radiobutton.moc"
-RadioButton::RadioButton(TQWidget* parent, const char* name)
- : TQRadioButton(parent, name),
+RadioButton::RadioButton(TQWidget* tqparent, const char* name)
+ : TQRadioButton(tqparent, name),
mFocusPolicy(focusPolicy()),
mFocusWidget(0),
mReadOnly(false)
{ }
-RadioButton::RadioButton(const TQString& text, TQWidget* parent, const char* name)
- : TQRadioButton(text, parent, name),
+RadioButton::RadioButton(const TQString& text, TQWidget* tqparent, const char* name)
+ : TQRadioButton(text, tqparent, name),
mFocusPolicy(focusPolicy()),
mFocusWidget(0),
mReadOnly(false)
@@ -86,7 +86,7 @@ void RadioButton::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;
}
TQRadioButton::mousePressEvent(e);
@@ -97,7 +97,7 @@ void RadioButton::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;
}
TQRadioButton::mouseReleaseEvent(e);
@@ -114,12 +114,12 @@ void RadioButton::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
- case Qt::Key_Escape:
+ case TQt::Key_Escape:
break;
default:
return;