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/kwsdl/schema/element.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kode/kwsdl/schema/element.h') diff --git a/kode/kwsdl/schema/element.h b/kode/kwsdl/schema/element.h index 6335693f6..dfd886b41 100644 --- a/kode/kwsdl/schema/element.h +++ b/kode/kwsdl/schema/element.h @@ -23,8 +23,8 @@ #ifndef SCHEMA_ELEMENT_H #define SCHEMA_ELEMENT_H -#include -#include +#include +#include #define UNBOUNDED 1000 @@ -33,25 +33,25 @@ namespace Schema { class Element { public: - typedef QValueList List; - typedef QValueList PtrList; + typedef TQValueList List; + typedef TQValueList PtrList; Element(); - Element( const QString &name, int type, int minOccurs = 1, int maxOccurs = 1, - bool qualified = false, const QString &defaultValue = QString(), - const QString &fixedValue = QString() ); + Element( const TQString &name, int type, int minOccurs = 1, int maxOccurs = 1, + bool qualified = false, const TQString &defaultValue = TQString(), + const TQString &fixedValue = TQString() ); - QString name() const; + TQString name() const; void setType( int id ); int type() const; - void setTypeName( const QString &typeName ); - QString typeName() const; + void setTypeName( const TQString &typeName ); + TQString typeName() const; - void setDocumentation( const QString &documentation ); - QString documentation() const; + void setDocumentation( const TQString &documentation ); + TQString documentation() const; void setGroupId( int group ); int groupId() const; @@ -62,8 +62,8 @@ class Element void setMaxOccurs( int maxOccurs ); int maxOccurs() const; - QString defaultValue() const; - QString fixedValue() const; + TQString defaultValue() const; + TQString fixedValue() const; bool isQualified() const; @@ -71,15 +71,15 @@ class Element int occurrence() const; private: - QString mName; + TQString mName; int mType; - QString mTypeName; - QString mDocumentation; + TQString mTypeName; + TQString mDocumentation; int mMinOccurs; int mMaxOccurs; bool mQualified; - QString mDefaultValue; - QString mFixedValue; + TQString mDefaultValue; + TQString mFixedValue; int mGroupId; int mOccurrence; }; -- cgit v1.2.1