summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema/element.h
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/schema/element.h')
-rw-r--r--kode/kwsdl/schema/element.h38
1 files changed, 19 insertions, 19 deletions
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 <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
#define UNBOUNDED 1000
@@ -33,25 +33,25 @@ namespace Schema {
class Element
{
public:
- typedef QValueList<Element> List;
- typedef QValueList<Element*> PtrList;
+ typedef TQValueList<Element> List;
+ typedef TQValueList<Element*> 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;
};