summaryrefslogtreecommitdiffstats
path: root/kalarm/alarmtimewidget.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/alarmtimewidget.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/alarmtimewidget.h')
-rw-r--r--kalarm/alarmtimewidget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kalarm/alarmtimewidget.h b/kalarm/alarmtimewidget.h
index e3580d735..0b8d6d4f1 100644
--- a/kalarm/alarmtimewidget.h
+++ b/kalarm/alarmtimewidget.h
@@ -34,14 +34,15 @@ class TimeSpinBox;
class AlarmTimeWidget : public ButtonGroup
{
Q_OBJECT
+ TQ_OBJECT
public:
enum { // 'mode' values for constructor. May be OR'ed together.
AT_TIME = 0x00, // "At ..."
DEFER_TIME = 0x01, // "Defer to ..."
NARROW = 0x02 // make a narrow widget
};
- AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidget* parent = 0, const char* name = 0);
- AlarmTimeWidget(int mode, TQWidget* parent = 0, const char* name = 0);
+ AlarmTimeWidget(const TQString& groupBoxTitle, int mode, TQWidget* tqparent = 0, const char* name = 0);
+ AlarmTimeWidget(int mode, TQWidget* tqparent = 0, const char* name = 0);
DateTime getDateTime(int* minsFromNow = 0, bool checkExpired = true, bool showErrorMessage = true, TQWidget** errorWidget = 0) const;
void setDateTime(const DateTime&);
void setMinDateTimeIsCurrent();