diff options
Diffstat (limited to 'kradio3/plugins/gui-docking-menu/docking.h')
-rw-r--r-- | kradio3/plugins/gui-docking-menu/docking.h | 45 |
1 files changed, 23 insertions, 22 deletions
diff --git a/kradio3/plugins/gui-docking-menu/docking.h b/kradio3/plugins/gui-docking-menu/docking.h index d9fbfde..64bbc59 100644 --- a/kradio3/plugins/gui-docking-menu/docking.h +++ b/kradio3/plugins/gui-docking-menu/docking.h @@ -23,8 +23,8 @@ #endif #include <ksystemtray.h> -#include <qpixmap.h> -#include <qptrdict.h> +#include <tqpixmap.h> +#include <tqptrdict.h> #include "../../src/include/timecontrol_interfaces.h" #include "../../src/include/radio_interfaces.h" @@ -44,17 +44,18 @@ class RadioDocking : public KSystemTray, public ISoundStreamClient { Q_OBJECT + TQ_OBJECT public: - RadioDocking (const QString &name); + RadioDocking (const TQString &name); virtual ~RadioDocking(); virtual bool connectI (Interface *); virtual bool disconnectI (Interface *); - virtual QString pluginClassName() const { return "RadioDocking"; } + virtual TQString pluginClassName() const { return "RadioDocking"; } - virtual const QString &name() const { return PluginBase::name(); } - virtual QString &name() { return PluginBase::name(); } + virtual const TQString &name() const { return PluginBase::name(); } + virtual TQString &name() { return PluginBase::name(); } // PluginBase @@ -70,18 +71,18 @@ public: // IStationSelection RECEIVERS: - bool setStationSelection(const QStringList &sl); + bool setStationSelection(const TQStringList &sl); ANSWERS: - const QStringList & getStationSelection () const { return m_stationIDs; } + const TQStringList & getStationSelection () const { return m_stationIDs; } // IRadioDevicePoolClient RECEIVERS: bool noticeActiveDeviceChanged(IRadioDevice *) { return false; } - bool noticeDevicesChanged(const QPtrList<IRadioDevice> &) { return false; } - bool noticeDeviceDescriptionChanged(const QString &) { return false; } + bool noticeDevicesChanged(const TQPtrList<IRadioDevice> &) { return false; } + bool noticeDeviceDescriptionChanged(const TQString &) { return false; } // ITimeControlClient @@ -89,7 +90,7 @@ RECEIVERS: bool noticeAlarmsChanged(const AlarmVector &) { return false; } bool noticeAlarm(const Alarm &) { return false; } bool noticeNextAlarmChanged(const Alarm *); - bool noticeCountdownStarted(const QDateTime &/*end*/); + bool noticeCountdownStarted(const TQDateTime &/*end*/); bool noticeCountdownStopped(); bool noticeCountdownZero(); bool noticeCountdownSecondsChanged(int n); @@ -101,7 +102,7 @@ RECEIVERS: 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; } @@ -132,7 +133,7 @@ protected slots: void slotRecordingMenu(int i); protected: - void mousePressEvent( QMouseEvent *e ); + void mousePressEvent( TQMouseEvent *e ); void buildContextMenu(); void buildRecordingMenu(); @@ -141,12 +142,12 @@ protected: void noticeWidgetPluginShown(WidgetPluginBase *, bool shown); void noticePluginsChanged(const PluginList &); - void showEvent(QShowEvent *) {} // do nothing, original implementation adds "Quit" menu item + void showEvent(TQShowEvent *) {} // do nothing, original implementation adds "Quit" menu item void ShowHideWidgetPlugins(); - void dragEnterEvent(QDragEnterEvent* event); - void dropEvent(QDropEvent* event); + void dragEnterEvent(TQDragEnterEvent* event); + void dropEvent(TQDropEvent* event); public: @@ -161,7 +162,7 @@ protected: KPopupMenu *m_menu; KPopupMenu *m_pluginMenu; KPopupMenu *m_recordingMenu; - QStringList m_stationIDs; + TQStringList m_stationIDs; // menu Item IDs int m_titleID; @@ -172,17 +173,17 @@ protected: int m_sleepID; int m_seekfwID; int m_seekbwID; - QValueList<int> m_stationMenuIDs; + TQValueList<int> m_stationMenuIDs; - QMap<WidgetPluginBase *, int> m_widgetPluginIDs; + TQMap<WidgetPluginBase *, int> m_widgetPluginIDs; int m_NextRecordingMenuID; - QMap<int, SoundStreamID> m_MenuID2StreamID; - QMap<SoundStreamID, int> m_StreamID2MenuID; + TQMap<int, SoundStreamID> m_MenuID2StreamID; + TQMap<SoundStreamID, int> m_StreamID2MenuID; LeftClickAction m_leftClickAction; - QMap<QString, bool> m_widgetsShownCache; + TQMap<TQString, bool> m_widgetsShownCache; }; |