summaryrefslogtreecommitdiffstats
path: root/noatun/modules/infrared/lirc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:43:15 +0000
commite654398e46e37abf457b2b1122ab898d2c51c49f (patch)
treed39ee6440f3c3663c3ead84a2d4cc2d034667e96 /noatun/modules/infrared/lirc.h
parente4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff)
downloadtdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz
tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;
};