diff options
Diffstat (limited to 'kode/function.h')
-rw-r--r-- | kode/function.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kode/function.h b/kode/function.h index 53ba43720..47f0dd756 100644 --- a/kode/function.h +++ b/kode/function.h @@ -23,9 +23,9 @@ #include "code.h" -#include <qvaluelist.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqvaluelist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <kdepimmacros.h> namespace KODE { @@ -33,12 +33,12 @@ namespace KODE { class KDE_EXPORT Function { public: - typedef QValueList<Function> List; + typedef TQValueList<Function> List; enum AccessSpecifier { Public = 1, Protected = 2, Private = 4, Signal = 8, Slot = 16 }; Function(); - Function( const QString &name, const QString &returnType = QString::null, + Function( const TQString &name, const TQString &returnType = TQString::null, int access = Public, bool isStatic = false ); void setConst( bool isConst ); @@ -47,43 +47,43 @@ class KDE_EXPORT Function void setStatic( bool isStatic ); bool isStatic() const { return mIsStatic; } - void addArgument( const QString &argument ); - void setArgumentString( const QString &argumentString ); + void addArgument( const TQString &argument ); + void setArgumentString( const TQString &argumentString ); - void addInitializer( const QString & ); - QStringList initializers() const { return mInitializers; } + void addInitializer( const TQString & ); + TQStringList initializers() const { return mInitializers; } - void setBody( const QString &body ); + void setBody( const TQString &body ); void setBody( const Code &code ); - void addBodyLine( const QString &bodyLine ); + void addBodyLine( const TQString &bodyLine ); void setAccess( int ); int access() const { return mAccess; } - QString accessAsString() const; + TQString accessAsString() const; - void setReturnType( const QString & ); - QString returnType() const { return mReturnType; } + void setReturnType( const TQString & ); + TQString returnType() const { return mReturnType; } - void setName( const QString & ); - QString name() const { return mName; } + void setName( const TQString & ); + TQString name() const { return mName; } - QStringList arguments() const { return mArguments; } + TQStringList arguments() const { return mArguments; } - QString body() const { return mBody; } + TQString body() const { return mBody; } - void setDocs( const QString & ); - QString docs() const { return mDocs; } + void setDocs( const TQString & ); + TQString docs() const { return mDocs; } private: int mAccess; bool mIsConst; bool mIsStatic; - QString mReturnType; - QString mName; - QStringList mArguments; - QStringList mInitializers; - QString mBody; - QString mDocs; + TQString mReturnType; + TQString mName; + TQStringList mArguments; + TQStringList mInitializers; + TQString mBody; + TQString mDocs; }; } |