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/atcommand.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/atcommand.h')
-rw-r--r-- | kandy/src/atcommand.h | 66 |
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; }; |