summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorrecurrence.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorrecurrence.h')
-rw-r--r--korganizer/koeditorrecurrence.h47
1 files changed, 26 insertions, 21 deletions
diff --git a/korganizer/koeditorrecurrence.h b/korganizer/koeditorrecurrence.h
index 831ba62b..3060d660 100644
--- a/korganizer/koeditorrecurrence.h
+++ b/korganizer/koeditorrecurrence.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef _KOEDITORRECURRENCE_H
#define _KOEDITORRECURRENCE_H
@@ -44,10 +44,10 @@ class Incidence;
}
using namespace KCal;
-class RecurBase : public QWidget
+class RecurBase : public TQWidget
{
public:
- RecurBase( TQWidget *parent = 0, const char *name = 0 );
+ RecurBase( TQWidget *tqparent = 0, const char *name = 0 );
void setFrequency( int );
int frequency();
@@ -58,10 +58,10 @@ class RecurBase : public QWidget
TQWidget *frequencyEdit();
protected:
- static TQComboBox *createWeekCountCombo( TQWidget *parent=0, const char *name=0 );
- static TQComboBox *createWeekdayCombo( TQWidget *parent=0, const char *name=0 );
- static TQComboBox *createMonthNameCombo( TQWidget *parent=0, const char *name=0 );
- TQBoxLayout *createFrequencySpinBar( TQWidget *parent, TQLayout *tqlayout,
+ static TQComboBox *createWeekCountCombo( TQWidget *tqparent=0, const char *name=0 );
+ static TQComboBox *createWeekdayCombo( TQWidget *tqparent=0, const char *name=0 );
+ static TQComboBox *createMonthNameCombo( TQWidget *tqparent=0, const char *name=0 );
+ TQBoxLayout *createFrequencySpinBar( TQWidget *tqparent, TQLayout *tqlayout,
TQString everyText, TQString unitText );
private:
@@ -71,13 +71,13 @@ class RecurBase : public QWidget
class RecurDaily : public RecurBase
{
public:
- RecurDaily( TQWidget *parent = 0, const char *name = 0 );
+ RecurDaily( TQWidget *tqparent = 0, const char *name = 0 );
};
class RecurWeekly : public RecurBase
{
public:
- RecurWeekly( TQWidget *parent = 0, const char *name = 0 );
+ RecurWeekly( TQWidget *tqparent = 0, const char *name = 0 );
void setDays( const TQBitArray & );
TQBitArray days();
@@ -89,7 +89,7 @@ class RecurWeekly : public RecurBase
class RecurMonthly : public RecurBase
{
public:
- RecurMonthly( TQWidget *parent = 0, const char *name = 0 );
+ RecurMonthly( TQWidget *tqparent = 0, const char *name = 0 );
void setByDay( int day );
void setByPos( int count, int weekday );
@@ -116,7 +116,7 @@ class RecurYearly : public RecurBase
public:
enum YearlyType { byDay, byPos, byMonth };
- RecurYearly( TQWidget *parent = 0, const char *name = 0 );
+ RecurYearly( TQWidget *tqparent = 0, const char *name = 0 );
void setByDay( int day );
void setByPos( int count, int weekday, int month );
@@ -146,11 +146,12 @@ class RecurYearly : public RecurBase
TQSpinBox *mByDaySpin;
};
-class RecurrenceChooser : public QWidget
+class RecurrenceChooser : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecurrenceChooser( TQWidget *parent = 0, const char *name = 0 );
+ RecurrenceChooser( TQWidget *tqparent = 0, const char *name = 0 );
enum { Daily, Weekly, Monthly, Yearly };
@@ -182,8 +183,9 @@ class ExceptionsBase
class ExceptionsWidget : public TQWidget, public ExceptionsBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ExceptionsWidget( TQWidget *parent = 0, const char *name = 0 );
+ ExceptionsWidget( TQWidget *tqparent = 0, const char *name = 0 );
void setDates( const DateList & );
DateList dates();
@@ -202,7 +204,7 @@ class ExceptionsWidget : public TQWidget, public ExceptionsBase
class ExceptionsDialog : public KDialogBase, public ExceptionsBase
{
public:
- ExceptionsDialog( TQWidget *parent, const char *name = 0 );
+ ExceptionsDialog( TQWidget *tqparent, const char *name = 0 );
void setDates( const DateList & );
DateList dates();
@@ -229,8 +231,9 @@ class RecurrenceRangeBase
class RecurrenceRangeWidget : public TQWidget, public RecurrenceRangeBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecurrenceRangeWidget( TQWidget *parent = 0, const char *name = 0 );
+ RecurrenceRangeWidget( TQWidget *tqparent = 0, const char *name = 0 );
void setDefaults( const TQDateTime &from );
@@ -259,7 +262,7 @@ class RecurrenceRangeWidget : public TQWidget, public RecurrenceRangeBase
class RecurrenceRangeDialog : public KDialogBase, public RecurrenceRangeBase
{
public:
- RecurrenceRangeDialog( TQWidget *parent = 0, const char *name = 0 );
+ RecurrenceRangeDialog( TQWidget *tqparent = 0, const char *name = 0 );
void setDefaults( const TQDateTime &from );
@@ -276,11 +279,12 @@ class RecurrenceRangeDialog : public KDialogBase, public RecurrenceRangeBase
RecurrenceRangeWidget *mRecurrenceRangeWidget;
};
-class KOEditorRecurrence : public QWidget
+class KOEditorRecurrence : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KOEditorRecurrence ( TQWidget *parent = 0, const char *name = 0 );
+ KOEditorRecurrence ( TQWidget *tqparent = 0, const char *name = 0 );
virtual ~KOEditorRecurrence();
enum { Daily, Weekly, Monthly, Yearly };
@@ -345,8 +349,9 @@ class KOEditorRecurrence : public QWidget
class KOEditorRecurrenceDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KOEditorRecurrenceDialog( TQWidget *parent );
+ KOEditorRecurrenceDialog( TQWidget *tqparent );
KOEditorRecurrence* editor() const { return mRecurrence; }
protected slots: