summaryrefslogtreecommitdiffstats
path: root/kalarm/repetition.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/repetition.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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