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/kdelirc/iraction.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/kdelirc/iraction.h')
-rw-r--r-- | kdelirc/kdelirc/iraction.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kdelirc/kdelirc/iraction.h b/kdelirc/kdelirc/iraction.h index f7008ff..8fdd44e 100644 --- a/kdelirc/kdelirc/iraction.h +++ b/kdelirc/kdelirc/iraction.h @@ -13,7 +13,7 @@ #ifndef IRACTION_H #define IRACTION_H -#include <qstring.h> +#include <tqstring.h> #include "prototype.h" #include "arguments.h" @@ -27,7 +27,7 @@ class KConfig; class IRAction { - QString theProgram, theObject, theRemote, theButton, theMode; + TQString theProgram, theObject, theRemote, theButton, theMode; Prototype theMethod; Arguments theArguments; bool theRepeat, theAutoStart, theDoBefore, theDoAfter; @@ -40,49 +40,49 @@ public: void saveToConfig(KConfig &theConfig, int index) const; // may be changed to a profile-based representation in the future. - const QString function() const; - const QString application() const; - const QString buttonName() const; - const QString remoteName() const; - const QString notes() const; + const TQString function() const; + const TQString application() const; + const TQString buttonName() const; + const TQString remoteName() const; + const TQString notes() const; // bog standard raw DCOP stuff - const QString &program() const { return theProgram; } - const QString &object() const { return theObject; } + const TQString &program() const { return theProgram; } + const TQString &object() const { return theObject; } const Prototype &method() const { return theMethod; } - const QString &remote() const { return theRemote; } - const QString &mode() const { return theMode; } - const QString &button() const { return theButton; } + const TQString &remote() const { return theRemote; } + const TQString &mode() const { return theMode; } + const TQString &button() const { return theButton; } const Arguments arguments() const { if(theProgram != "" && theObject != "") return theArguments; return Arguments(); } const bool repeat() const { return theRepeat; } const bool autoStart() const { return theAutoStart; } const IfMulti ifMulti() const { return theIfMulti; } const bool unique() const { return theUnique; } - const QString &modeChange() const { return theObject; } + const TQString &modeChange() const { return theObject; } const bool doBefore() const { return theDoBefore; } const bool doAfter() const { return theDoAfter; } bool isModeChange() const { return theProgram == ""; } bool isJustStart() const { return theProgram != "" && theObject == ""; } - void setProgram(const QString &newProgram) { theProgram = newProgram; } - void setObject(const QString &newObject) { theObject = newObject; } + void setProgram(const TQString &newProgram) { theProgram = newProgram; } + void setObject(const TQString &newObject) { theObject = newObject; } void setMethod(const Prototype &newMethod) { theMethod = newMethod; } - void setRemote(const QString &newRemote) { theRemote = newRemote; } - void setMode(const QString &newMode) { theMode = newMode; } - void setButton(const QString &newButton) { theButton = newButton; } + void setRemote(const TQString &newRemote) { theRemote = newRemote; } + void setMode(const TQString &newMode) { theMode = newMode; } + void setButton(const TQString &newButton) { theButton = newButton; } void setArguments(const Arguments &newArguments) { theArguments = newArguments; } void setRepeat(bool newRepeat) { theRepeat = newRepeat; } void setDoBefore(bool a) { theDoBefore = a; } void setDoAfter(bool a) { theDoAfter = a; } void setAutoStart(bool newAutoStart) { theAutoStart = newAutoStart; } - void setModeChange(const QString &a) { theObject = a; } + void setModeChange(const TQString &a) { theObject = a; } void setIfMulti(const IfMulti a) { theIfMulti = a; } void setUnique(const bool a) { theUnique = a; } - IRAction(const QString &newProgram, const QString &newObject, const QString &newMethod, const Arguments &newArguments, const QString &newRemote, const QString &newMode, const QString &newButton, const bool newRepeat, const bool newAutoStart, const bool newDoBefore, const bool newDoAfter, const bool newUnique, const IfMulti newIfMulti); - IRAction() { theProgram = QString::null; } + IRAction(const TQString &newProgram, const TQString &newObject, const TQString &newMethod, const Arguments &newArguments, const TQString &newRemote, const TQString &newMode, const TQString &newButton, const bool newRepeat, const bool newAutoStart, const bool newDoBefore, const bool newDoAfter, const bool newUnique, const IfMulti newIfMulti); + IRAction() { theProgram = TQString::null; } }; #endif |