summaryrefslogtreecommitdiffstats
path: root/kode/class.h
diff options
context:
space:
mode:
Diffstat (limited to 'kode/class.h')
-rw-r--r--kode/class.h54
1 files changed, 27 insertions, 27 deletions
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 <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;
};
}