From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kalarm/repetition.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'kalarm/repetition.h') 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 -- cgit v1.2.1