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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/lib/checkbox.cpp b/kalarm/lib/checkbox.cpp
index cff6cdb17..1d9cabffb 100644
--- a/kalarm/lib/checkbox.cpp
+++ b/kalarm/lib/checkbox.cpp
@@ -44,7 +44,7 @@ void CheckBox::setReadOnly(bool ro)
if ((int)ro != (int)mReadOnly)
{
mReadOnly = ro;
- setFocusPolicy(ro ? TQWidget::NoFocus : mFocusPolicy);
+ setFocusPolicy(ro ? Qt::NoFocus : mFocusPolicy);
if (ro)
clearFocus();
}
@@ -86,7 +86,7 @@ void CheckBox::mousePressEvent(TQMouseEvent* e)
if (mReadOnly)
{
// Swallow up the event if it's the left button
- if (e->button() == TQt::LeftButton)
+ if (e->button() == Qt::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() == TQt::LeftButton)
+ if (e->button() == Qt::LeftButton)
return;
}
TQCheckBox::mouseReleaseEvent(e);