diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/dwriter.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/dwriter.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/umbrello/umbrello/codegenerators/dwriter.h b/umbrello/umbrello/codegenerators/dwriter.h index 38828359..2a738d01 100644 --- a/umbrello/umbrello/codegenerators/dwriter.h +++ b/umbrello/umbrello/codegenerators/dwriter.h @@ -59,30 +59,30 @@ public: /** * Overrides method from class CodeGenerator */ - QStringList defaultDatatypes(); + TQStringList defaultDatatypes(); private: /** * Writes the module declaration. */ - void writeModuleDecl(UMLClassifier *c, QTextStream &d); + void writeModuleDecl(UMLClassifier *c, TQTextStream &d); /** * Writes the module imports. */ - void writeModuleImports(UMLClassifier *c, QTextStream &d); + void writeModuleImports(UMLClassifier *c, TQTextStream &d); /** * Writes class's documentation then the class header * public abstract class Foo extents { */ - void writeClassDecl(UMLClassifier *c, QTextStream &d); + void writeClassDecl(UMLClassifier *c, TQTextStream &d); /** * Writes the comment and class constructor */ - void writeConstructor(UMLClassifier *c, QTextStream &d); + void writeConstructor(UMLClassifier *c, TQTextStream &d); /** * return true if the two operations have the same name and the same parameters @@ -120,28 +120,28 @@ private: * @param c the class for which we are generating code * @param j the stream associated with the output file */ - void writeOperations(UMLClassifier *c, QTextStream &j); + void writeOperations(UMLClassifier *c, TQTextStream &j); /** * write a list of operations for a given class * @param list the list of operations you want to write * @param j the stream associated with the output file */ - void writeOperations(UMLOperationList &list, QTextStream &j); + void writeOperations(UMLOperationList &list, TQTextStream &j); /** * write all attributes for a given class * @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); /** * Writes the protection modifier line. * @param visibility protection modifier * @param d text stream */ - void writeProtectionMod(Uml::Visibility visibility, QTextStream &d); + void writeProtectionMod(Uml::Visibility visibility, TQTextStream &d); /** * Writes attribute declarations with a specific @@ -150,7 +150,7 @@ private: * @param atlist attribute list * @param d text stream */ - void writeAttributeDecl(Uml::Visibility visibility, UMLAttributeList &atlist, QTextStream &d); + void writeAttributeDecl(Uml::Visibility visibility, UMLAttributeList &atlist, TQTextStream &d); /** * writes the Attribute declarations @@ -160,109 +160,109 @@ private: * @param d text stream */ void writeAttributeDecls(UMLAttributeList &atpub, UMLAttributeList &atprot, - UMLAttributeList &atpriv, QTextStream &d ); + UMLAttributeList &atpriv, TQTextStream &d ); /** * Searches a list of associations for appropriate ones to write out as attributes */ - void writeAssociationDecls(UMLAssociationList associations, Uml::IDType id, QTextStream &d); + void writeAssociationDecls(UMLAssociationList associations, Uml::IDType id, TQTextStream &d); /** * Writes out an association as an attribute using Vector */ - void writeAssociationRoleDecl(QString fieldClassName, QString roleName, QString multi, - QString doc, Uml::Visibility visib, QTextStream &d); + void writeAssociationRoleDecl(TQString fieldClassName, TQString roleName, TQString multi, + TQString doc, Uml::Visibility visib, TQTextStream &d); /** * calls @ref writeSingleAttributeAccessorMethods() on each of the attributes in atpub */ - void writeAttributeMethods(UMLAttributeList &atpub, Uml::Visibility visibility, QTextStream &d); + void writeAttributeMethods(UMLAttributeList &atpub, Uml::Visibility visibility, TQTextStream &d); /** * calls @ref writeAssociationRoleMethod() on each of the associations in the given list */ void writeAssociationMethods(UMLAssociationList associations, UMLClassifier *thisClass, - QTextStream &d); + TQTextStream &d); /** * calls @ref writeSingleAttributeAccessorMethods() or @ref * writeVectorAttributeAccessorMethods() on the assocaition * role */ - void writeAssociationRoleMethod(QString fieldClassName, QString roleName, QString multi, - QString description, Uml::Visibility visib, Uml::Changeability_Type change, - QTextStream &d); + void writeAssociationRoleMethod(TQString fieldClassName, TQString roleName, TQString multi, + TQString description, Uml::Visibility visib, Uml::Changeability_Type change, + TQTextStream &d); /** * Writes getFoo() and setFoo() accessor methods for the attribute */ - void writeSingleAttributeAccessorMethods(QString fieldClassName, QString fieldVarName, - QString fieldName, QString description, + void writeSingleAttributeAccessorMethods(TQString fieldClassName, TQString fieldVarName, + TQString fieldName, TQString description, Uml::Visibility visibility, Uml::Changeability_Type change, - bool isFinal, QTextStream &d); + bool isFinal, TQTextStream &d); /** * Writes addFoo() and removeFoo() accessor methods for the Vector attribute */ - void writeVectorAttributeAccessorMethods(QString fieldClassName, QString fieldVarName, - QString fieldName, QString description, + void writeVectorAttributeAccessorMethods(TQString fieldClassName, TQString fieldVarName, + TQString fieldName, TQString description, Uml::Visibility visibility, Uml::Changeability_Type change, - QTextStream &d); + TQTextStream &d); /** * Writes a // style comment */ - void writeComment(const QString &text, const QString &indent, QTextStream &d, bool dDocStyle=false); + void writeComment(const TQString &text, const TQString &indent, TQTextStream &d, bool dDocStyle=false); /** * Writes a documentation comment */ - void writeDocumentation(QString header, QString body, QString end, QString indent, QTextStream &d); + void writeDocumentation(TQString header, TQString body, TQString end, TQString indent, TQTextStream &d); /** * Returns the name of the given object (if it exists) */ - QString getUMLObjectName(UMLObject *obj); + TQString getUMLObjectName(UMLObject *obj); /** * Lowers the case of the first letter in the given string */ - QString deCapitaliseFirstLetter(QString string); + TQString deCapitaliseFirstLetter(TQString string); /** * Returns the plural form of a subject. */ - QString pluralize(QString string); + TQString pluralize(TQString string); /** * Returns the non-plural form of a subject. */ - QString unPluralize(QString string); + TQString unPluralize(TQString string); /** * Replaces `string' with `String' and `bool' with `boolean' */ - QString fixTypeName(const QString& string); + TQString fixTypeName(const TQString& string); /** * check that initial values of strings have quotes around them */ - QString fixInitialStringDeclValue(QString value, QString type); + TQString fixInitialStringDeclValue(TQString value, TQString type); /** * Write a blank line */ - void writeBlankLine(QTextStream& d); + void writeBlankLine(TQTextStream& d); /** * a little method for converting scope to string value */ - QString scopeToDDecl(Uml::Visibility scope); + TQString scopeToDDecl(Uml::Visibility scope); /** * A \n, used at the end of each line */ - QString startline; + TQString startline; /** * Whether or not this concept is an interface. |