diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kdelirc/irkick/klircclient.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdelirc/irkick/klircclient.h')
-rw-r--r-- | kdelirc/irkick/klircclient.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kdelirc/irkick/klircclient.h b/kdelirc/irkick/klircclient.h index ea5fa75..30f5fe5 100644 --- a/kdelirc/irkick/klircclient.h +++ b/kdelirc/irkick/klircclient.h @@ -13,10 +13,10 @@ #ifndef KLIRCCLIENT_H #define KLIRCCLIENT_H -#include <qobject.h> -#include <qmap.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqmap.h> +#include <tqstring.h> +#include <tqstringlist.h> class QSocket; class QSocketNotifier; @@ -32,14 +32,14 @@ class KLircClient: public QObject private: struct lirc_config *theConfig; - QSocket *theSocket; - QSocketNotifier *theNotifier; - QMap<QString, QStringList> theRemotes; + TQSocket *theSocket; + TQSocketNotifier *theNotifier; + TQMap<TQString, TQStringList> theRemotes; bool listIsUpToDate; void updateRemotes(); - void sendCommand(const QString &command); - const QString readLine(); + void sendCommand(const TQString &command); + const TQString readLine(); private slots: void slotRead(); @@ -62,7 +62,7 @@ signals: * The repeat counter starts with 0 and increases * every time this signal is emitted. */ - void commandReceived(const QString &remote, const QString &button, int repeatCounter); + void commandReceived(const TQString &remote, const TQString &button, int repeatCounter); /** * Emitted when the Lirc connection is closed. @@ -91,14 +91,14 @@ public: * * @returns said list. */ - const QStringList remotes() const; + const TQStringList remotes() const; /** * Retrieve list of buttons of a praticular remote control. * * @returns said list. */ - const QStringList buttons(const QString &theRemote) const; + const TQStringList buttons(const TQString &theRemote) const; /** * Connects to lirc. @@ -107,7 +107,7 @@ public: */ bool connectToLirc(); - KLircClient(QWidget *parent = 0, const char *name = 0); + KLircClient(TQWidget *parent = 0, const char *name = 0); ~KLircClient(); }; |