summaryrefslogtreecommitdiffstats
path: root/kicker-applets/mediacontrol/mpdInterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/mediacontrol/mpdInterface.h')
-rw-r--r--kicker-applets/mediacontrol/mpdInterface.h24
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