summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codegenerators/xmlschemawriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codegenerators/xmlschemawriter.h')
-rw-r--r--umbrello/umbrello/codegenerators/xmlschemawriter.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/umbrello/umbrello/codegenerators/xmlschemawriter.h b/umbrello/umbrello/codegenerators/xmlschemawriter.h
index caf9f906..95210078 100644
--- a/umbrello/umbrello/codegenerators/xmlschemawriter.h
+++ b/umbrello/umbrello/codegenerators/xmlschemawriter.h
@@ -64,16 +64,16 @@ public:
/**
* get list of reserved keywords
*/
- virtual const QStringList reservedKeywords() const;
+ virtual const TQStringList reservedKeywords() const;
private:
/**
* Writes concept's documentation then guts
*/
- void writeClassifier(UMLClassifier *c, QTextStream &XMLSchema);
- void writeAbstractClassifier(UMLClassifier *c, QTextStream &XMLSchema);
- void writeConcreteClassifier(UMLClassifier *c, QTextStream &XMLSchema);
+ void writeClassifier(UMLClassifier *c, TQTextStream &XMLSchema);
+ void writeAbstractClassifier(UMLClassifier *c, TQTextStream &XMLSchema);
+ void writeConcreteClassifier(UMLClassifier *c, TQTextStream &XMLSchema);
/**
* write a <complexType> declaration for this classifier
@@ -83,7 +83,7 @@ private:
UMLAssociationList aggregations,
UMLAssociationList compositions,
UMLClassifierList superclassifiers,
- QTextStream &XMLSchema);
+ TQTextStream &XMLSchema);
/**
* write a <group> declaration for this classifier. Used for interfaces to classes with
@@ -91,7 +91,7 @@ private:
*/
void writeGroupClassifierDecl(UMLClassifier *c,
UMLClassifierList superclassifiers,
- QTextStream &XMLSchema);
+ TQTextStream &XMLSchema);
/**
* find if the classifier would have any Child elements.
@@ -103,24 +103,24 @@ private:
* @param c the class for which we are generating code
* @param j the stream associated with the output file
*/
- void writeAttributes(UMLClassifier *c, QTextStream &j);
+ void writeAttributes(UMLClassifier *c, TQTextStream &j);
/**
* write an element declaration.
*/
- void writeElementDecl( const QString &elementName, const QString &elementTypeName, QTextStream &XMLschema);
+ void writeElementDecl( const TQString &elementName, const TQString &elementTypeName, TQTextStream &XMLschema);
/**
* writes the Attribute declarations
* @param attribs List of attributes
* @param XMLschema text stream
*/
- void writeAttributeDecls(UMLAttributeList &attribs, QTextStream &XMLschema );
+ void writeAttributeDecls(UMLAttributeList &attribs, TQTextStream &XMLschema );
/**
* write an element attribute.
*/
- void writeAttributeDecl(UMLAttribute *attrib, QTextStream &XMLschema );
+ void writeAttributeDecl(UMLAttribute *attrib, TQTextStream &XMLschema );
/**
* Find all attributes for this concept.
@@ -131,7 +131,7 @@ private:
* Discover the string name of all the attribute groups (which are child nodes)
* of this concept (err.. element)
*/
- QStringList findAttributeGroups (UMLClassifier *c);
+ TQStringList findAttributeGroups (UMLClassifier *c);
/**
* Searches a list of associations for appropriate ones to write out as attributes.
@@ -139,32 +139,32 @@ private:
* not work right for plain associations between 2 different classes.
*/
bool writeAssociationDecls(UMLAssociationList associations, bool noRoleOK, bool didOne,
- Uml::IDType id, QTextStream &XMLschema);
+ Uml::IDType id, TQTextStream &XMLschema);
/**
* Find all attributes that belong in group
*/
- void writeAttributeGroupDecl(const QString &elementName, UMLAttributeList &attribs, QTextStream &XMLschema );
+ void writeAttributeGroupDecl(const TQString &elementName, UMLAttributeList &attribs, TQTextStream &XMLschema );
/**
* Writes out an association as an attribute using Vector
*/
- void writeAssociationRoleDecl(UMLClassifier *c, const QString &multi, QTextStream &XMLschema);
+ void writeAssociationRoleDecl(UMLClassifier *c, const TQString &multi, TQTextStream &XMLschema);
/**
* Construct an element tag with the schema namespace
*/
- QString makeSchemaTag ( QString tagName );
+ TQString makeSchemaTag ( TQString tagName );
/**
* Construct an element tag with the package namespace
*/
- QString makePackageTag ( QString tagName );
+ TQString makePackageTag ( TQString tagName );
/**
* Writes a comment
*/
- void writeComment(const QString &text, QTextStream &XMLschema);
+ void writeComment(const TQString &text, TQTextStream &XMLschema);
/**
* Find and return a list of child UMLObjects pointed to by the associations
@@ -175,35 +175,35 @@ private:
/**
* Replaces `string' with `String' and `bool' with `boolean'
*/
- QString fixTypeName(const QString& string);
+ TQString fixTypeName(const TQString& string);
/**
* check that initial values of strings DONT have quotes around them
* (we get double quoting then!!
*/
- QString fixInitialStringDeclValue( QString value, const QString &type);
+ TQString fixInitialStringDeclValue( TQString value, const TQString &type);
/**
* Find the element node name for this concept.
*/
- QString getElementName(UMLClassifier *c);
+ TQString getElementName(UMLClassifier *c);
/**
* Find the element node "type" name. Used in the "complexType" which
* might define that element node.
*/
- QString getElementTypeName(UMLClassifier *c);
+ TQString getElementTypeName(UMLClassifier *c);
/**
* Find the group node "type" name. Used for elements which define an interface/are abstract.
*/
- QString getElementGroupTypeName(UMLClassifier *c);
+ TQString getElementGroupTypeName(UMLClassifier *c);
/**
* Find all the child objects in this association and make sure they get
* written out (if they havent already been)
*/
- void writeChildObjsInAssociation (UMLClassifier *c, UMLAssociationList assoc, QTextStream &s);
+ void writeChildObjsInAssociation (UMLClassifier *c, UMLAssociationList assoc, TQTextStream &s);
/**
* Quick check to see if we have written the declaration for this concept yet.
@@ -218,27 +218,27 @@ private:
/**
* The basic schemaNamespace tag
*/
- QString schemaNamespaceTag;
+ TQString schemaNamespaceTag;
/**
* The basic schemaNamespace tag
*/
- QString packageNamespaceTag;
+ TQString packageNamespaceTag;
/*
* The basic schemaNamespace URI
*/
- QString schemaNamespaceURI;
+ TQString schemaNamespaceURI;
/**
* The basic schemaNamespace URI
*/
- QString packageNamespaceURI;
+ TQString packageNamespaceURI;
/**
* A \n, used at the end of each line
*/
- QString startline;
+ TQString startline;
/**
* a list of UMLClassifiers we have already written