summaryrefslogtreecommitdiffstats
path: root/noatun/modules/infrared/lirc.h
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/infrared/lirc.h')
-rw-r--r--noatun/modules/infrared/lirc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/noatun/modules/infrared/lirc.h b/noatun/modules/infrared/lirc.h
index e5380c5c..de9665fd 100644
--- a/noatun/modules/infrared/lirc.h
+++ b/noatun/modules/infrared/lirc.h
@@ -2,13 +2,13 @@
#ifndef _LIRC_H_
#define _LIRC_H_
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qmap.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqmap.h>
class QSocket;
-typedef QMap<QString, QStringList> Remotes;
+typedef TQMap<TQString, TQStringList> Remotes;
class Lirc : public QObject
{
@@ -17,7 +17,7 @@ public:
/**
* Constructor
*/
- Lirc(QObject *parent);
+ Lirc(TQObject *parent);
/**
* Destructor
*/
@@ -30,12 +30,12 @@ public:
/**
* The names of the remote configured controls
*/
- const QStringList remotes() const;
+ const TQStringList remotes() const;
/**
* The names of the buttons for the specified
* remote control
*/
- const QStringList buttons(const QString &remote) const
+ const TQStringList buttons(const TQString &remote) const
{
return m_remotes[remote];
}
@@ -56,18 +56,18 @@ signals:
* The repeat counter starts with 0 and increases
* every time this signal is emitted.
*/
- void commandReceived(const QString &, const QString &, int);
+ void commandReceived(const TQString &, const TQString &, int);
private slots:
void slotRead();
private:
void update();
- const QString readLine();
- void sendCommand(const QString &);
+ const TQString readLine();
+ void sendCommand(const TQString &);
private:
- QSocket *m_socket;
+ TQSocket *m_socket;
Remotes m_remotes;
};