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