diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/codegenerators/javawriter.h | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/codegenerators/javawriter.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/javawriter.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/umbrello/umbrello/codegenerators/javawriter.h b/umbrello/umbrello/codegenerators/javawriter.h index 2469f6d0..69dada17 100644 --- a/umbrello/umbrello/codegenerators/javawriter.h +++ b/umbrello/umbrello/codegenerators/javawriter.h @@ -60,7 +60,7 @@ public: /** * Overrides method from class CodeGenerator */ - QStringList defaultDatatypes(); + TQStringList defaultDatatypes(); private: @@ -68,12 +68,12 @@ private: * Writes class's documentation then the class header * public abstract class Foo extents { */ - void writeClassDecl(UMLClassifier *c, QTextStream &java); + void writeClassDecl(UMLClassifier *c, TQTextStream &java); /** * Writes the comment and class constructor */ - void writeConstructor(UMLClassifier *c, QTextStream &java); + void writeConstructor(UMLClassifier *c, TQTextStream &java); /** * return true if the two operations have the same name and the same parameters @@ -111,21 +111,21 @@ 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 Attribute declarations @@ -135,94 +135,94 @@ private: * @param java text stream */ void writeAttributeDecls(UMLAttributeList &atpub, UMLAttributeList &atprot, - UMLAttributeList &atpriv, QTextStream &java ); + UMLAttributeList &atpriv, TQTextStream &java ); /** * Searches a list of associations for appropriate ones to write out as attributes */ - void writeAssociationDecls(UMLAssociationList associations, Uml::IDType id, QTextStream &java); + void writeAssociationDecls(UMLAssociationList associations, Uml::IDType id, TQTextStream &java); /** * Writes out an association as an attribute using Vector */ - void writeAssociationRoleDecl(QString fieldClassName, QString roleName, QString multi, - QString doc, Uml::Visibility visib, QTextStream &java); + void writeAssociationRoleDecl(TQString fieldClassName, TQString roleName, TQString multi, + TQString doc, Uml::Visibility visib, TQTextStream &java); /** * calls @ref writeSingleAttributeAccessorMethods() on each of the attributes in atpub */ - void writeAttributeMethods(UMLAttributeList &atpub, Uml::Visibility visibility, QTextStream &java); + void writeAttributeMethods(UMLAttributeList &atpub, Uml::Visibility visibility, TQTextStream &java); /** * calls @ref writeAssociationRoleMethod() on each of the associations in the given list */ void writeAssociationMethods(UMLAssociationList associations, UMLClassifier *thisClass, - QTextStream &java); + TQTextStream &java); /** * 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 &java); + void writeAssociationRoleMethod(TQString fieldClassName, TQString roleName, TQString multi, + TQString description, Uml::Visibility visib, Uml::Changeability_Type change, + TQTextStream &java); /** * 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 &java); + bool isFinal, TQTextStream &java); /** * 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 &java); + TQTextStream &java); /** * Writes a // style comment */ - void writeComment(const QString &text, const QString &indent, QTextStream &java, bool javaDocStyle=false); + void writeComment(const TQString &text, const TQString &indent, TQTextStream &java, bool javaDocStyle=false); /** * Writes a documentation comment */ - void writeDocumentation(QString header, QString body, QString end, QString indent, QTextStream &java); + void writeDocumentation(TQString header, TQString body, TQString end, TQString indent, TQTextStream &java); /** * Returns the name of the given object (if it exists) */ - QString getUMLObjectName(UMLObject *obj); + TQString getUMLObjectName(UMLObject *obj); /** * 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& java); + void writeBlankLine(TQTextStream& java); /** * a little method for converting scope to string value */ - QString scopeToJavaDecl(Uml::Visibility scope); + TQString scopeToJavaDecl(Uml::Visibility scope); /** * A \n, used at the end of each line */ - QString startline; + TQString startline; /** * Whether or not this concept is an interface. |