diff options
Diffstat (limited to 'kdelirc/kdelirc/prototype.h')
-rw-r--r-- | kdelirc/kdelirc/prototype.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdelirc/kdelirc/prototype.h b/kdelirc/kdelirc/prototype.h index 22c1123..0a963f7 100644 --- a/kdelirc/kdelirc/prototype.h +++ b/kdelirc/kdelirc/prototype.h @@ -13,9 +13,9 @@ #ifndef PROTOTYPE_H #define PROTOTYPE_H -#include <qstringlist.h> -#include <qpair.h> -#include <qstring.h> +#include <tqstringlist.h> +#include <tqpair.h> +#include <tqstring.h> /** @author Gav Wood @@ -23,29 +23,29 @@ class Prototype { - QString original, theName, theReturn; - QStringList theNames, theTypes; + TQString original, theName, theReturn; + TQStringList theNames, theTypes; void parse(); public: unsigned count() const{ return theTypes.count(); } - const QPair<QString, QString> operator[](int i) const { return qMakePair(theTypes[i], theNames[i]); } - const QString &name(int i) const { return theNames[i]; } - const QString &type(int i) const { return theTypes[i]; } - const QString &returnType() const { return theReturn; } - const QString &name() const { return theName; } - const QString &prototype() const { return original; } - const QString argumentList() const; - const QString argumentListNN() const; + const QPair<TQString, TQString> operator[](int i) const { return qMakePair(theTypes[i], theNames[i]); } + const TQString &name(int i) const { return theNames[i]; } + const TQString &type(int i) const { return theTypes[i]; } + const TQString &returnType() const { return theReturn; } + const TQString &name() const { return theName; } + const TQString &prototype() const { return original; } + const TQString argumentList() const; + const TQString argumentListNN() const; const int argumentCount() { return theTypes.count(); } - const QString prototypeNR() const { return theName + "(" + argumentListNN() + ")"; } + const TQString prototypeNR() const { return theName + "(" + argumentListNN() + ")"; } - void setPrototype(const QString &source) { original = source; parse(); } + void setPrototype(const TQString &source) { original = source; parse(); } - Prototype &operator=(const QString &source) { setPrototype(source); return *this; } + Prototype &operator=(const TQString &source) { setPrototype(source); return *this; } - Prototype(const QString &source); + Prototype(const TQString &source); Prototype(); ~Prototype(); |