summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema/complextype.h
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/schema/complextype.h')
-rw-r--r--kode/kwsdl/schema/complextype.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kode/kwsdl/schema/complextype.h b/kode/kwsdl/schema/complextype.h
index 8664e007..39db08b6 100644
--- a/kode/kwsdl/schema/complextype.h
+++ b/kode/kwsdl/schema/complextype.h
@@ -23,7 +23,7 @@
#ifndef SCHEMA_COMPLEXTYPE_H
#define SCHEMA_COMPLEXTYPE_H
-#include <qstring.h>
+#include <tqstring.h>
#include "attribute.h"
#include "element.h"
@@ -35,7 +35,7 @@ namespace Schema {
class ComplexType : public XSDType
{
public:
- typedef QValueList<ComplexType> List;
+ typedef TQValueList<ComplexType> List;
typedef enum {
SEQ = 0,
@@ -49,16 +49,16 @@ class ComplexType : public XSDType
} Derivation;
ComplexType();
- ComplexType( const QString& );
+ ComplexType( const TQString& );
~ComplexType();
- void setName( const QString &name );
- QString name() const;
+ void setName( const TQString &name );
+ TQString name() const;
QualifiedName qualifiedName() const;
- void setDocumentation( const QString &documentation );
- QString documentation() const;
+ void setDocumentation( const TQString &documentation );
+ TQString documentation() const;
void setType( int type );
int type() const;
@@ -72,10 +72,10 @@ class ComplexType : public XSDType
bool isSimple() const;
int attributeType( int index );
- QString attributeName( int index );
+ TQString attributeName( int index );
int elementType( int index );
- QString elementName( int index );
+ TQString elementName( int index );
int numElements() const;
int numAttributes() const;
@@ -84,17 +84,17 @@ class ComplexType : public XSDType
bool isAnonymous() const;
void setBaseType( int type, Derivation derivation, const XSDType *ptr );
- void setBaseTypeName( const QString &baseTypeName );
+ void setBaseTypeName( const TQString &baseTypeName );
int baseType() const;
int baseDerivation() const;
- QString baseTypeName() const;
+ TQString baseTypeName() const;
Compositor topLevelGroup() const;
Compositor groupType( int groupId ) const;
- const Element *element( const QString &name );
- const Attribute *attribute( const QString &name );
+ const Element *element( const TQString &name );
+ const Attribute *attribute( const TQString &name );
Element *element( int id );
Attribute *attribute( int id );
@@ -109,29 +109,29 @@ class ComplexType : public XSDType
void setCompositor( Compositor type, bool open = true, int minOccurs = 1, int maxOccurs = 1 );
- void addAttribute( const QString &name, int type_id, bool qualified = false,
- const QString &defaultValue = QString(),
- const QString &fixedValue = QString(),
+ void addAttribute( const TQString &name, int type_id, bool qualified = false,
+ const TQString &defaultValue = TQString(),
+ const TQString &fixedValue = TQString(),
bool use = false );
void addAttributeRef( const QualifiedName &name, bool qualified, bool use );
- void addElement( const QString &name, int type_id, int minOccurs = 1,
+ void addElement( const TQString &name, int type_id, int minOccurs = 1,
int maxOccurs = 1, bool qualified = false,
- const QString &defaultValue = QString(),
- const QString &fixedValue = QString(),
- const QString &documentation = QString() );
+ const TQString &defaultValue = TQString(),
+ const TQString &fixedValue = TQString(),
+ const TQString &documentation = TQString() );
void addElementRef( const QualifiedName &name, int minOccurs, int maxOccurs );
- void matchAttributeRef( const QString &name, Attribute &attribute );
- void matchElementRef( const QString &name, Element &element );
+ void matchAttributeRef( const TQString &name, Attribute &attribute );
+ void matchElementRef( const TQString &name, Element &element );
bool checkOccurrences();
void resetCounters();
private:
- QString mName;
- QString mNameSpace;
- QString mDocumentation;
+ TQString mName;
+ TQString mNameSpace;
+ TQString mDocumentation;
int mType;
Element::List mElements;
@@ -148,7 +148,7 @@ class ComplexType : public XSDType
int typeId;
Derivation derivation;
const XSDType *type;
- QString name;
+ TQString name;
} mBaseType;
struct CompositorStruct
@@ -167,7 +167,7 @@ class ComplexType : public XSDType
int maxOccurs;
};
- QValueList<struct CompositorStruct> mGroups;
+ TQValueList<struct CompositorStruct> mGroups;
Compositor mTopLevelGroup;
int mCurrentGroup;