summaryrefslogtreecommitdiffstats
path: root/kalarm/repetition.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/repetition.h')
-rw-r--r--kalarm/repetition.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/kalarm/repetition.h b/kalarm/repetition.h
index c8a32ce88..c2b0ebd6c 100644
--- a/kalarm/repetition.h
+++ b/kalarm/repetition.h
@@ -32,11 +32,12 @@ class TimePeriod;
class RepetitionDlg;
-class RepetitionButton : public QPushButton
+class RepetitionButton : public TQPushButton
{
Q_OBJECT
+ TQ_OBJECT
public:
- RepetitionButton(const TQString& caption, bool waitForInitialisation, TQWidget* parent, const char* name = 0);
+ RepetitionButton(const TQString& caption, bool waitForInitialisation, TQWidget* tqparent, const char* name = 0);
void set(int interval, int count);
void set(int interval, int count, bool dateOnly, int maxDuration = -1);
void initialise(int interval, int count, bool dateOnly, int maxDuration = -1); // use only after needsInitialisation() signal
@@ -70,8 +71,9 @@ class RepetitionButton : public QPushButton
class RepetitionDlg : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* parent = 0, const char* name = 0);
+ RepetitionDlg(const TQString& caption, bool readOnly, TQWidget* tqparent = 0, const char* name = 0);
void setReadOnly(bool);
void set(int interval, int count, bool dateOnly = false, int maxDuration = -1);
int interval() const; // get the interval between repetitions, in minutes