diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/mediacontrol/mpdInterface.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/mediacontrol/mpdInterface.h')
-rw-r--r-- | kicker-applets/mediacontrol/mpdInterface.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kicker-applets/mediacontrol/mpdInterface.h b/kicker-applets/mediacontrol/mpdInterface.h index d891586..ab95637 100644 --- a/kicker-applets/mediacontrol/mpdInterface.h +++ b/kicker-applets/mediacontrol/mpdInterface.h @@ -23,10 +23,10 @@ #define MPDINTERFACE_H #include "playerInterface.h" -#include <qtimer.h> +#include <tqtimer.h> #include <klocale.h> -#include <qsocket.h> -#include <qmutex.h> +#include <tqsocket.h> +#include <tqmutex.h> class MpdInterface : public PlayerInterface @@ -47,9 +47,9 @@ class MpdInterface virtual void prev(); virtual void volumeUp(); virtual void volumeDown(); - virtual void dragEnterEvent(QDragEnterEvent* event); - virtual void dropEvent(QDropEvent* event); - virtual const QString getTrackTitle() const; + virtual void dragEnterEvent(TQDragEnterEvent* event); + virtual void dropEvent(TQDropEvent* event); + virtual const TQString getTrackTitle() const; virtual int playingStatus(); void changeVolume(int delta); @@ -65,15 +65,15 @@ class MpdInterface protected: - virtual void timerEvent(QTimerEvent* te); + virtual void timerEvent(TQTimerEvent* te); private: - mutable QSocket sock; - mutable QMutex sock_mutex; + mutable TQSocket sock; + mutable TQMutex sock_mutex; - mutable QMutex messagebox_mutex; + mutable TQMutex messagebox_mutex; - QString hostname; + TQString hostname; int port; static const int SLIDER_TIMER_INTERVAL = 500; // ms @@ -94,7 +94,7 @@ class MpdInterface /** fetches a line and returns true, or false if OK or ACK (end of message). Will unlock the sock_mutex on the end of message. */ - bool fetchLine(QString& res) const; + bool fetchLine(TQString& res) const; }; #endif // MPDINTERFACE_H |