summaryrefslogtreecommitdiffstats
path: root/kalarm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib')
-rw-r--r--kalarm/lib/checkbox.cpp2
-rw-r--r--kalarm/lib/checkbox.h2
-rw-r--r--kalarm/lib/label.cpp2
-rw-r--r--kalarm/lib/pushbutton.cpp2
-rw-r--r--kalarm/lib/pushbutton.h2
-rw-r--r--kalarm/lib/radiobutton.cpp2
-rw-r--r--kalarm/lib/radiobutton.h2
-rw-r--r--kalarm/lib/spinbox2.cpp2
8 files changed, 8 insertions, 8 deletions
diff --git a/kalarm/lib/checkbox.cpp b/kalarm/lib/checkbox.cpp
index 1d9cabffb..b5bfde0ee 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 ? Qt::NoFocus : mFocusPolicy);
+ setFocusPolicy(ro ? TQ_NoFocus : mFocusPolicy);
if (ro)
clearFocus();
}
diff --git a/kalarm/lib/checkbox.h b/kalarm/lib/checkbox.h
index e535d4eab..61d6a1276 100644
--- a/kalarm/lib/checkbox.h
+++ b/kalarm/lib/checkbox.h
@@ -80,7 +80,7 @@ class CheckBox : public TQCheckBox
protected slots:
void slotClicked();
private:
- Qt::FocusPolicy mFocusPolicy; // default focus policy for the TQCheckBox
+ TQ_FocusPolicy mFocusPolicy; // default focus policy for the TQCheckBox
TQWidget* mFocusWidget; // widget to receive focus when button is clicked on
bool mFocusWidgetEnable; // enable focus widget before setting focus
bool mReadOnly; // value cannot be changed
diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp
index d532b67e3..f4e6941ea 100644
--- a/kalarm/lib/label.cpp
+++ b/kalarm/lib/label.cpp
@@ -106,7 +106,7 @@ void Label::activated()
LabelFocusWidget::LabelFocusWidget(TQWidget* tqparent, const char* name)
: TQWidget(tqparent, name)
{
- setFocusPolicy(Qt::ClickFocus);
+ setFocusPolicy(TQ_ClickFocus);
setFixedSize(TQSize(1,1));
}
diff --git a/kalarm/lib/pushbutton.cpp b/kalarm/lib/pushbutton.cpp
index c251fa3c5..883ad1812 100644
--- a/kalarm/lib/pushbutton.cpp
+++ b/kalarm/lib/pushbutton.cpp
@@ -44,7 +44,7 @@ void PushButton::setReadOnly(bool ro)
if ((int)ro != (int)mReadOnly)
{
mReadOnly = ro;
- setFocusPolicy(ro ? Qt::NoFocus : mFocusPolicy);
+ setFocusPolicy(ro ? TQ_NoFocus : mFocusPolicy);
if (ro)
clearFocus();
}
diff --git a/kalarm/lib/pushbutton.h b/kalarm/lib/pushbutton.h
index d0f4b0652..52c761bce 100644
--- a/kalarm/lib/pushbutton.h
+++ b/kalarm/lib/pushbutton.h
@@ -71,7 +71,7 @@ class PushButton : public TQPushButton
virtual void keyPressEvent(TQKeyEvent*);
virtual void keyReleaseEvent(TQKeyEvent*);
private:
- Qt::FocusPolicy mFocusPolicy; // default focus policy for the TQPushButton
+ TQ_FocusPolicy mFocusPolicy; // default focus policy for the TQPushButton
bool mReadOnly; // value cannot be changed
};
diff --git a/kalarm/lib/radiobutton.cpp b/kalarm/lib/radiobutton.cpp
index f34a574e3..6331c06f5 100644
--- a/kalarm/lib/radiobutton.cpp
+++ b/kalarm/lib/radiobutton.cpp
@@ -44,7 +44,7 @@ void RadioButton::setReadOnly(bool ro)
if ((int)ro != (int)mReadOnly)
{
mReadOnly = ro;
- setFocusPolicy(ro ? Qt::NoFocus : mFocusPolicy);
+ setFocusPolicy(ro ? TQ_NoFocus : mFocusPolicy);
if (ro)
clearFocus();
}
diff --git a/kalarm/lib/radiobutton.h b/kalarm/lib/radiobutton.h
index baa7cba39..2f924b24d 100644
--- a/kalarm/lib/radiobutton.h
+++ b/kalarm/lib/radiobutton.h
@@ -80,7 +80,7 @@ class RadioButton : public TQRadioButton
protected slots:
void slotClicked();
private:
- Qt::FocusPolicy mFocusPolicy; // default focus policy for the TQRadioButton
+ TQ_FocusPolicy mFocusPolicy; // default focus policy for the TQRadioButton
TQWidget* mFocusWidget; // widget to receive focus when button is clicked on
bool mFocusWidgetEnable; // enable focus widget before setting focus
bool mReadOnly; // value cannot be changed
diff --git a/kalarm/lib/spinbox2.cpp b/kalarm/lib/spinbox2.cpp
index 3d7cde021..197e83bd6 100644
--- a/kalarm/lib/spinbox2.cpp
+++ b/kalarm/lib/spinbox2.cpp
@@ -85,7 +85,7 @@ void SpinBox2::init()
mSpinbox->setSelectOnStep(false); // default
mUpdown2->setSelectOnStep(false); // always false
setFocusProxy(mSpinbox);
- mUpdown2->setFocusPolicy(Qt::NoFocus);
+ mUpdown2->setFocusPolicy(TQ_NoFocus);
mSpinMirror = new SpinMirror(mUpdown2, mUpdown2Frame, this);
if (!mirrorStyle(tqstyle()))
mSpinMirror->hide(); // hide mirrored spin buttons when they are inappropriate