diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kandy/src/commandscheduler.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kandy/src/commandscheduler.h')
-rw-r--r-- | kandy/src/commandscheduler.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kandy/src/commandscheduler.h b/kandy/src/commandscheduler.h index 20398aafa..231ad325b 100644 --- a/kandy/src/commandscheduler.h +++ b/kandy/src/commandscheduler.h @@ -24,38 +24,38 @@ #ifndef COMMANDSCHEDULER_H #define COMMANDSCHEDULER_H -#include <qobject.h> -#include <qptrlist.h> +#include <tqobject.h> +#include <tqptrlist.h> #include "atcommand.h" #include "commandset.h" class Modem; -class CommandScheduler : public QObject { +class CommandScheduler : public TQObject { Q_OBJECT public: - CommandScheduler (Modem *modem,QObject *parent = 0, const char *name = 0); + CommandScheduler (Modem *modem,TQObject *parent = 0, const char *name = 0); - void execute(const QString &command); + void execute(const TQString &command); void execute(ATCommand *command); - void executeId(const QString &id); + void executeId(const TQString &id); Modem *modem() { return mModem; } CommandSet *commandSet() { return &mCommandSet; } - bool loadProfile(const QString& filename); - bool saveProfile(const QString& filename); + bool loadProfile(const TQString& filename); + bool saveProfile(const TQString& filename); signals: - void result(const QString &); + void result(const TQString &); void commandProcessed(ATCommand *); private slots: void processOutput(const char *line); private: - void sendCommand(const QString &command); + void sendCommand(const TQString &command); void nextCommand(); private: @@ -65,12 +65,12 @@ class CommandScheduler : public QObject { ATCommand *mLastCommand; - QPtrList<ATCommand> mCommandQueue; + TQPtrList<ATCommand> mCommandQueue; enum State { WAITING, PROCESSING }; State mState; - QString mResult; + TQString mResult; }; #endif |