summaryrefslogtreecommitdiffstats
path: root/kalarm/recurrenceeditprivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/recurrenceeditprivate.h')
-rw-r--r--kalarm/recurrenceeditprivate.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/kalarm/recurrenceeditprivate.h b/kalarm/recurrenceeditprivate.h
index 51a7085db..659921d5b 100644
--- a/kalarm/recurrenceeditprivate.h
+++ b/kalarm/recurrenceeditprivate.h
@@ -36,10 +36,10 @@ class TimeSpinBox;
class TQString;
-class NoRule : public QFrame
+class NoRule : public TQFrame
{
public:
- NoRule(TQWidget* parent, const char* name = 0) : TQFrame(parent, name)
+ NoRule(TQWidget* tqparent, const char* name = 0) : TQFrame(tqparent, name)
{ setFrameStyle(TQFrame::NoFrame); }
virtual int frequency() const { return 0; }
};
@@ -47,9 +47,10 @@ class NoRule : public QFrame
class Rule : public NoRule
{
Q_OBJECT
+ TQ_OBJECT
public:
Rule(const TQString& freqText, const TQString& freqWhatsThis, bool time, bool readOnly,
- TQWidget* parent, const char* name = 0);
+ TQWidget* tqparent, const char* name = 0);
int frequency() const;
void setFrequency(int);
virtual void setFrequencyFocus() { mSpinBox->setFocus(); }
@@ -72,17 +73,19 @@ class Rule : public NoRule
class SubDailyRule : public Rule
{
Q_OBJECT
+ TQ_OBJECT
public:
- SubDailyRule(bool readOnly, TQWidget* parent, const char* name = 0);
+ SubDailyRule(bool readOnly, TQWidget* tqparent, const char* name = 0);
};
// Daily/weekly rule choices base class
class DayWeekRule : public Rule
{
Q_OBJECT
+ TQ_OBJECT
public:
DayWeekRule(const TQString& freqText, const TQString& freqWhatsThis, const TQString& daysWhatsThis,
- bool readOnly, TQWidget* parent, const char* name = 0);
+ bool readOnly, TQWidget* tqparent, const char* name = 0);
TQBitArray days() const;
void setDays(bool);
void setDays(const TQBitArray& days);
@@ -100,25 +103,26 @@ class DayWeekRule : public Rule
class DailyRule : public DayWeekRule
{
public:
- DailyRule(bool readOnly, TQWidget* parent, const char* name = 0);
+ DailyRule(bool readOnly, TQWidget* tqparent, const char* name = 0);
};
// Weekly rule choices
class WeeklyRule : public DayWeekRule
{
public:
- WeeklyRule(bool readOnly, TQWidget* parent, const char* name = 0);
+ WeeklyRule(bool readOnly, TQWidget* tqparent, const char* name = 0);
};
// Monthly/yearly rule choices base class
class MonthYearRule : public Rule
{
Q_OBJECT
+ TQ_OBJECT
public:
enum DayPosType { DATE, POS };
MonthYearRule(const TQString& freqText, const TQString& freqWhatsThis, bool allowEveryWeek,
- bool readOnly, TQWidget* parent, const char* name = 0);
+ bool readOnly, TQWidget* tqparent, const char* name = 0);
DayPosType type() const;
int date() const; // if date in month is selected
int week() const; // if position is selected
@@ -161,15 +165,16 @@ class MonthYearRule : public Rule
class MonthlyRule : public MonthYearRule
{
public:
- MonthlyRule(bool readOnly, TQWidget* parent, const char* name = 0);
+ MonthlyRule(bool readOnly, TQWidget* tqparent, const char* name = 0);
};
// Yearly rule choices
class YearlyRule : public MonthYearRule
{
Q_OBJECT
+ TQ_OBJECT
public:
- YearlyRule(bool readOnly, TQWidget* parent, const char* name = 0);
+ YearlyRule(bool readOnly, TQWidget* tqparent, const char* name = 0);
TQValueList<int> months() const;
void setMonths(const TQValueList<int>& months);
void setDefaultValues(int dayOfMonth, int dayOfWeek, int month);