summaryrefslogtreecommitdiffstats
path: root/kandy/src/atcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'kandy/src/atcommand.h')
-rw-r--r--kandy/src/atcommand.h66
1 files changed, 33 insertions, 33 deletions
diff --git a/kandy/src/atcommand.h b/kandy/src/atcommand.h
index 8296d1291..f8f8f6a3f 100644
--- a/kandy/src/atcommand.h
+++ b/kandy/src/atcommand.h
@@ -24,26 +24,26 @@
#ifndef ATCOMMAND_H
#define ATCOMMAND_H
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qptrlist.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqptrlist.h>
class ATParameter {
public:
ATParameter();
- ATParameter(const QString &value,const QString &name="",
+ ATParameter(const TQString &value,const TQString &name="",
bool userInput=false);
- void setName(const QString &name) { mName = name; }
- QString name() const { return mName; }
- void setValue(const QString &value) { mValue = value; }
- QString value() const { return mValue; }
+ void setName(const TQString &name) { mName = name; }
+ TQString name() const { return mName; }
+ void setValue(const TQString &value) { mValue = value; }
+ TQString value() const { return mValue; }
void setUserInput(bool userInput) { mUserInput = userInput; }
bool userInput() const { return mUserInput; }
private:
- QString mName;
- QString mValue;
+ TQString mName;
+ TQString mValue;
bool mUserInput;
};
@@ -54,37 +54,37 @@ class ATParameter {
class ATCommand {
public:
ATCommand();
- ATCommand(const QString &cmdString);
- ATCommand(const QString &cmdName,const QString &cmdString,
+ ATCommand(const TQString &cmdString);
+ ATCommand(const TQString &cmdName,const TQString &cmdString,
bool hexOutput=false);
virtual ~ATCommand();
- void setCmdName(const QString &);
- QString cmdName();
+ void setCmdName(const TQString &);
+ TQString cmdName();
- void setCmdString(const QString &);
- QString cmdString();
+ void setCmdString(const TQString &);
+ TQString cmdString();
- QString cmd();
+ TQString cmd();
- QString id();
+ TQString id();
void setHexOutput(bool);
bool hexOutput();
- QString processOutput(const QString &);
- QString processOutput();
+ TQString processOutput(const TQString &);
+ TQString processOutput();
- void setResultString(const QString &);
- QString resultString();
- QString resultField(int index);
- QPtrList<QStringList> *resultFields();
+ void setResultString(const TQString &);
+ TQString resultString();
+ TQString resultField(int index);
+ TQPtrList<TQStringList> *resultFields();
void addParameter(ATParameter *);
void clearParameters();
- QPtrList<ATParameter> parameters();
+ TQPtrList<ATParameter> parameters();
- void setParameter(int index,const QString &value);
+ void setParameter(int index,const TQString &value);
void setParameter(int index,int value);
void setAutoDelete(bool autoDelete) { mAutoDelete = autoDelete; }
@@ -92,18 +92,18 @@ class ATCommand {
private:
void construct();
- void setResultFields(QString fieldsString);
+ void setResultFields(TQString fieldsString);
void extractParameters();
- QString mCmdName;
- QString mCmdString;
- QString mId;
+ TQString mCmdName;
+ TQString mCmdString;
+ TQString mId;
bool mHexOutput;
- QString mResultString;
- QPtrList<QStringList> mResultFieldsList;
+ TQString mResultString;
+ TQPtrList<TQStringList> mResultFieldsList;
- QPtrList<ATParameter> mParameters;
+ TQPtrList<ATParameter> mParameters;
bool mAutoDelete;
};