From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/class.h | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'kode/class.h') diff --git a/kode/class.h b/kode/class.h index dde50e8bd..21edc015f 100644 --- a/kode/class.h +++ b/kode/class.h @@ -27,70 +27,70 @@ #include "typedef.h" #include -#include -#include -#include -#include +#include +#include +#include +#include namespace KODE { class KDE_EXPORT Class { public: - typedef QValueList List; + typedef TQValueList List; Class(); - Class( const QString &name, const QString &nameSpace = QString::null ); + Class( const TQString &name, const TQString &nameSpace = TQString::null ); Class( const Class & ); Class &operator=( const Class &c ); bool isValid() const; - void addInclude( const QString &file, - const QString &forwardDeclaration = QString::null ); - void addHeaderInclude( const QString &file ); - void addHeaderIncludes( const QStringList &files ); + void addInclude( const TQString &file, + const TQString &forwardDeclaration = TQString::null ); + void addHeaderInclude( const TQString &file ); + void addHeaderIncludes( const TQStringList &files ); void addBaseClass( const Class & ); void addFunction( const Function & ); void addMemberVariable( const MemberVariable &v ); void addTypedef( const Typedef & ); void addEnum( const Enum & ); - void setName( const QString &name ); - QString name() const { return mName; } - void setNameSpace( const QString &nameSpace ); - QString nameSpace() const { return mNameSpace; } - QStringList includes() const { return mIncludes; } - QStringList headerIncludes() const { return mHeaderIncludes; } - QStringList forwardDeclarations() const { return mForwardDeclarations; } + void setName( const TQString &name ); + TQString name() const { return mName; } + void setNameSpace( const TQString &nameSpace ); + TQString nameSpace() const { return mNameSpace; } + TQStringList includes() const { return mIncludes; } + TQStringList headerIncludes() const { return mHeaderIncludes; } + TQStringList forwardDeclarations() const { return mForwardDeclarations; } Function::List functions() const { return mFunctions; } MemberVariable::List memberVariables() const { return mMemberVariables; } Class::List baseClasses() const; Typedef::List typedefs() const { return mTypedefs; } Enum::List enums() const { return mEnums; } - void setDocs( const QString & ); - QString docs() const { return mDocs; } + void setDocs( const TQString & ); + TQString docs() const { return mDocs; } - bool hasFunction( const QString &name ) const; + bool hasFunction( const TQString &name ) const; bool isQObject() const; private: // WARNING: If you add member variables, you have to adjust the copy // constructor. - QString mName; - QString mNameSpace; + TQString mName; + TQString mNameSpace; Function::List mFunctions; MemberVariable::List mMemberVariables; - QStringList mIncludes; - QStringList mForwardDeclarations; - QStringList mHeaderIncludes; - QPtrList mBaseClasses; + TQStringList mIncludes; + TQStringList mForwardDeclarations; + TQStringList mHeaderIncludes; + TQPtrList mBaseClasses; Typedef::List mTypedefs; Enum::List mEnums; - QString mDocs; + TQString mDocs; }; } -- cgit v1.2.1