summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/timecontrol/timecontrol-configuration.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 03:43:07 +0000
commit70b9eea2ba01c3691497f49e4c45cb070c16193c (patch)
tree9a6df61aa247a27275aad9c5245e419e89c2c640 /kradio3/plugins/timecontrol/timecontrol-configuration.h
parent998c1384ace4ae4655997c181fa33242148cd0a4 (diff)
downloadtderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.tar.gz
tderadio-70b9eea2ba01c3691497f49e4c45cb070c16193c.zip
TQt4 port kradio
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1238952 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kradio3/plugins/timecontrol/timecontrol-configuration.h')
-rw-r--r--kradio3/plugins/timecontrol/timecontrol-configuration.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kradio3/plugins/timecontrol/timecontrol-configuration.h b/kradio3/plugins/timecontrol/timecontrol-configuration.h
index ac4570f..64d5cb6 100644
--- a/kradio3/plugins/timecontrol/timecontrol-configuration.h
+++ b/kradio3/plugins/timecontrol/timecontrol-configuration.h
@@ -26,15 +26,16 @@
#include "timecontrol-configuration-ui.h"
class TimeControl;
-class QWidget;
+class TQWidget;
class TimeControlConfiguration : public TimeControlConfigurationUI,
public ITimeControlClient,
public IRadioClient
{
Q_OBJECT
+ TQ_OBJECT
public :
- TimeControlConfiguration (QWidget *parent);
+ TimeControlConfiguration (TQWidget *tqparent);
~TimeControlConfiguration ();
bool connectI (Interface *i);
@@ -45,7 +46,7 @@ public :
bool noticeAlarmsChanged(const AlarmVector &sl);
bool noticeAlarm(const Alarm &);
bool noticeNextAlarmChanged(const Alarm *);
- bool noticeCountdownStarted(const QDateTime &end);
+ bool noticeCountdownStarted(const TQDateTime &end);
bool noticeCountdownStopped();
bool noticeCountdownZero();
bool noticeCountdownSecondsChanged(int n);
@@ -55,7 +56,7 @@ public :
bool noticePowerChanged(bool on);
bool noticeStationChanged (const RadioStation &, int idx);
bool noticeStationsChanged(const StationList &sl);
- bool noticePresetFileChanged(const QString &/*f*/) { return false; }
+ bool noticePresetFileChanged(const TQString &/*f*/) { return false; }
bool noticeCurrentSoundStreamIDChanged(SoundStreamID /*id*/) { return false; }
@@ -66,8 +67,8 @@ protected slots:
void slotEnabledChanged (bool enable);
void slotStationChanged (int idx);
void slotAlarmSelectChanged(int idx);
- void slotDateChanged(const QDate &d);
- void slotTimeChanged(const QTime &d);
+ void slotDateChanged(const TQDate &d);
+ void slotTimeChanged(const TQTime &d);
void slotVolumeChanged(int v);
void slotAlarmTypeChanged(int idx);
@@ -81,7 +82,7 @@ protected slots:
protected:
AlarmVector alarms;
- vector<QString> stationIDs;
+ vector<TQString> stationIDs;
bool ignoreChanges;
bool m_dirty;