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 /kode/class.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 'kode/class.h')
-rw-r--r-- | kode/class.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/kode/class.h b/kode/class.h index dde50e8b..21edc015 100644 --- a/kode/class.h +++ b/kode/class.h @@ -27,70 +27,70 @@ #include "typedef.h" #include <kdepimmacros.h> -#include <qvaluelist.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qptrlist.h> +#include <tqvaluelist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqptrlist.h> namespace KODE { class KDE_EXPORT Class { public: - typedef QValueList<Class> List; + typedef TQValueList<Class> 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<Class> mBaseClasses; + TQStringList mIncludes; + TQStringList mForwardDeclarations; + TQStringList mHeaderIncludes; + TQPtrList<Class> mBaseClasses; Typedef::List mTypedefs; Enum::List mEnums; - QString mDocs; + TQString mDocs; }; } |