summaryrefslogtreecommitdiffstats
path: root/kalarm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/lib')
-rw-r--r--kalarm/lib/buttongroup.h2
-rw-r--r--kalarm/lib/checkbox.h2
-rw-r--r--kalarm/lib/colourcombo.h2
-rw-r--r--kalarm/lib/combobox.h2
-rw-r--r--kalarm/lib/dateedit.h2
-rw-r--r--kalarm/lib/label.h4
-rw-r--r--kalarm/lib/lineedit.h2
-rw-r--r--kalarm/lib/pushbutton.h2
-rw-r--r--kalarm/lib/radiobutton.h2
-rw-r--r--kalarm/lib/shellprocess.h2
-rw-r--r--kalarm/lib/slider.h2
-rw-r--r--kalarm/lib/spinbox.h2
-rw-r--r--kalarm/lib/spinbox2.h2
-rw-r--r--kalarm/lib/spinbox2private.h4
-rw-r--r--kalarm/lib/synchtimer.h6
-rw-r--r--kalarm/lib/timeedit.h2
-rw-r--r--kalarm/lib/timeperiod.h2
-rw-r--r--kalarm/lib/timespinbox.h2
18 files changed, 22 insertions, 22 deletions
diff --git a/kalarm/lib/buttongroup.h b/kalarm/lib/buttongroup.h
index f4d812653..d1038918d 100644
--- a/kalarm/lib/buttongroup.h
+++ b/kalarm/lib/buttongroup.h
@@ -38,7 +38,7 @@
class ButtonGroup : public TQButtonGroup
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/checkbox.h b/kalarm/lib/checkbox.h
index 7759f6229..020f95949 100644
--- a/kalarm/lib/checkbox.h
+++ b/kalarm/lib/checkbox.h
@@ -42,7 +42,7 @@
class CheckBox : public TQCheckBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/colourcombo.h b/kalarm/lib/colourcombo.h
index 2a075d235..10be36dab 100644
--- a/kalarm/lib/colourcombo.h
+++ b/kalarm/lib/colourcombo.h
@@ -43,7 +43,7 @@
class ColourCombo : public TQComboBox
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY(TQColor color READ color WRITE setColor)
public:
/** Constructor.
diff --git a/kalarm/lib/combobox.h b/kalarm/lib/combobox.h
index 3d5ff13e6..f0402c721 100644
--- a/kalarm/lib/combobox.h
+++ b/kalarm/lib/combobox.h
@@ -37,7 +37,7 @@
class ComboBox : public TQComboBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/dateedit.h b/kalarm/lib/dateedit.h
index 525dc5c68..405566ec7 100644
--- a/kalarm/lib/dateedit.h
+++ b/kalarm/lib/dateedit.h
@@ -37,7 +37,7 @@
class DateEdit : public KDateEdit
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/label.h b/kalarm/lib/label.h
index ba418aee8..5f26adc8f 100644
--- a/kalarm/lib/label.h
+++ b/kalarm/lib/label.h
@@ -41,7 +41,7 @@ class LabelFocusWidget;
class Label : public TQLabel
{
Q_OBJECT
- TQ_OBJECT
+
friend class LabelFocusWidget;
public:
/** Constructs an empty label.
@@ -88,7 +88,7 @@ class Label : public TQLabel
class LabelFocusWidget : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
LabelFocusWidget(TQWidget* parent, const char* name = 0);
protected:
diff --git a/kalarm/lib/lineedit.h b/kalarm/lib/lineedit.h
index 660d45377..ecfd52422 100644
--- a/kalarm/lib/lineedit.h
+++ b/kalarm/lib/lineedit.h
@@ -43,7 +43,7 @@
class LineEdit : public KLineEdit
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Types of drag and drop content which will be accepted.
* @li Text - the line edit contains general text. It accepts text, a URL
diff --git a/kalarm/lib/pushbutton.h b/kalarm/lib/pushbutton.h
index d3aee32cd..fd3574027 100644
--- a/kalarm/lib/pushbutton.h
+++ b/kalarm/lib/pushbutton.h
@@ -37,7 +37,7 @@
class PushButton : public TQPushButton
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
public:
/** Constructor.
diff --git a/kalarm/lib/radiobutton.h b/kalarm/lib/radiobutton.h
index 3af80343f..e983ebaca 100644
--- a/kalarm/lib/radiobutton.h
+++ b/kalarm/lib/radiobutton.h
@@ -42,7 +42,7 @@
class RadioButton : public TQRadioButton
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/shellprocess.h b/kalarm/lib/shellprocess.h
index a4ff79889..8c577d85b 100644
--- a/kalarm/lib/shellprocess.h
+++ b/kalarm/lib/shellprocess.h
@@ -50,7 +50,7 @@
class ShellProcess : public KShellProcess
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Current status of the shell process.
* @li INACTIVE - start() has not yet been called to run the command.
diff --git a/kalarm/lib/slider.h b/kalarm/lib/slider.h
index 6b72c5ba6..bd8e750ae 100644
--- a/kalarm/lib/slider.h
+++ b/kalarm/lib/slider.h
@@ -37,7 +37,7 @@
class Slider : public TQSlider
{
Q_OBJECT
- TQ_OBJECT
+
TQ_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly)
public:
/** Constructor.
diff --git a/kalarm/lib/spinbox.h b/kalarm/lib/spinbox.h
index 081087db0..7712cdec7 100644
--- a/kalarm/lib/spinbox.h
+++ b/kalarm/lib/spinbox.h
@@ -42,7 +42,7 @@
class SpinBox : public TQSpinBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/spinbox2.h b/kalarm/lib/spinbox2.h
index 14c2f16e1..fe082524a 100644
--- a/kalarm/lib/spinbox2.h
+++ b/kalarm/lib/spinbox2.h
@@ -56,7 +56,7 @@ class ExtraSpinBox;
class SpinBox2 : public TQFrame
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/spinbox2private.h b/kalarm/lib/spinbox2private.h
index c1c116b04..093d8c8a7 100644
--- a/kalarm/lib/spinbox2private.h
+++ b/kalarm/lib/spinbox2private.h
@@ -34,7 +34,7 @@
class ExtraSpinBox : public SpinBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
explicit ExtraSpinBox(TQWidget* parent, const char* name = 0)
: SpinBox(parent, name), mNewStylePending(false) { }
@@ -61,7 +61,7 @@ class ExtraSpinBox : public SpinBox
class SpinMirror : public TQCanvasView
{
Q_OBJECT
- TQ_OBJECT
+
public:
explicit SpinMirror(SpinBox*, TQFrame* spinFrame, TQWidget* parent = 0, const char* name = 0);
void setReadOnly(bool ro) { mReadOnly = ro; }
diff --git a/kalarm/lib/synchtimer.h b/kalarm/lib/synchtimer.h
index 144c8a830..8d640f0b8 100644
--- a/kalarm/lib/synchtimer.h
+++ b/kalarm/lib/synchtimer.h
@@ -37,7 +37,7 @@ class TQTimer;
class SynchTimer : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
virtual ~SynchTimer();
@@ -77,7 +77,7 @@ class SynchTimer : public TQObject
class MinuteTimer : public SynchTimer
{
Q_OBJECT
- TQ_OBJECT
+
public:
virtual ~MinuteTimer() { mInstance = 0; }
/** Connect to the timer signal.
@@ -117,7 +117,7 @@ class MinuteTimer : public SynchTimer
class DailyTimer : public SynchTimer
{
Q_OBJECT
- TQ_OBJECT
+
public:
virtual ~DailyTimer();
/** Connect to the timer signal which triggers at the given fixed time of day.
diff --git a/kalarm/lib/timeedit.h b/kalarm/lib/timeedit.h
index 658fe7805..4a74d5765 100644
--- a/kalarm/lib/timeedit.h
+++ b/kalarm/lib/timeedit.h
@@ -50,7 +50,7 @@ class TimeSpinBox;
class TimeEdit : public TQHBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor.
* @param parent The parent object of this widget.
diff --git a/kalarm/lib/timeperiod.h b/kalarm/lib/timeperiod.h
index 9c4152b76..e2e24819f 100644
--- a/kalarm/lib/timeperiod.h
+++ b/kalarm/lib/timeperiod.h
@@ -50,7 +50,7 @@ class TimeSpinBox;
class TimePeriod : public TQHBox
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Units for the time period.
* @li MINUTES - the time period is entered as a number of minutes.
diff --git a/kalarm/lib/timespinbox.h b/kalarm/lib/timespinbox.h
index fe45efab4..6d9f5dbe5 100644
--- a/kalarm/lib/timespinbox.h
+++ b/kalarm/lib/timespinbox.h
@@ -45,7 +45,7 @@
class TimeSpinBox : public SpinBox2
{
Q_OBJECT
- TQ_OBJECT
+
public:
/** Constructor for a wrapping time spin box which can be used to enter a time of day.
* @param use24hour True for entry of 24-hour clock times (range 00:00 to 23:59).