diff options
Diffstat (limited to 'umbrello/umbrello/codegenerators/tclwriter.h')
-rw-r--r-- | umbrello/umbrello/codegenerators/tclwriter.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/umbrello/umbrello/codegenerators/tclwriter.h b/umbrello/umbrello/codegenerators/tclwriter.h index 0c4d71c5..eac918bb 100644 --- a/umbrello/umbrello/codegenerators/tclwriter.h +++ b/umbrello/umbrello/codegenerators/tclwriter.h @@ -19,7 +19,7 @@ #ifndef TCLWRITER_H #define TCLWRITER_H -#include <qstringlist.h> +#include <tqstringlist.h> #include "simplecodegenerator.h" #include "../umloperationlist.h" #include "../umlattributelist.h" @@ -63,37 +63,37 @@ public: /** * get list of reserved keywords */ - virtual const QStringList reservedKeywords() const; + virtual const TQStringList reservedKeywords() const; private: /** * Current output stream. */ - QTextStream * mStream; + TQTextStream * mStream; /** * write the header file for this classifier. */ - void writeHeaderFile(UMLClassifier * c, QFile & file); + void writeHeaderFile(UMLClassifier * c, TQFile & file); /** * write the source code body file for this classifier. */ - void writeSourceFile(UMLClassifier * c, QFile & file); + void writeSourceFile(UMLClassifier * c, TQFile & file); /** * write the source codei text. */ - void writeCode(const QString &text); + void writeCode(const TQString &text); /** * write comment text. */ - void writeComm(const QString &text); + void writeComm(const TQString &text); /** * write documentation text. */ - void writeDocu(const QString &text); + void writeDocu(const TQString &text); void writeConstructorDecl(); @@ -103,9 +103,9 @@ private: * Summary information about current classifier. */ ClassifierInfo *classifierInfo; - QString mNamespace; - QString mClass; - QString mClassGlobal; + TQString mNamespace; + TQString mClass; + TQString mClassGlobal; /** * writes the Attribute declarations @@ -116,19 +116,19 @@ private: void writeAttributeDecl(Uml::Visibility visibility, bool writeStatic); void writeAssociationIncl(UMLAssociationList list, - Uml::IDType myId, const QString &type); + Uml::IDType myId, const TQString &type); /** * Searches a list of associations for appropriate ones to write out as attributes */ void writeAssociationDecl(UMLAssociationList associations, Uml::Visibility permit, Uml::IDType id, - const QString &type); + const TQString &type); /** * Writes out an association as an attribute using Vector */ - void writeAssociationRoleDecl(const QString &fieldClassName, - const QString &roleName, const QString &multi, const QString &doc, const QString &docname); + void writeAssociationRoleDecl(const TQString &fieldClassName, + const TQString &roleName, const TQString &multi, const TQString &doc, const TQString &docname); /** * If needed, write out the declaration for the method to initialize attributes of our class. @@ -147,9 +147,9 @@ private: void writeAttributeSource(); void writeAssociationSource(UMLAssociationList associations, Uml::IDType id); - void writeAssociationRoleSource(const QString &fieldClassName, - const QString &roleName, - const QString &multi); + void writeAssociationRoleSource(const TQString &fieldClassName, + const TQString &roleName, + const TQString &multi); void writeUse(UMLClassifier * c); @@ -157,15 +157,15 @@ private: /** * Returns the name of the given object (if it exists) */ - QString getUMLObjectName(UMLObject * obj); + TQString getUMLObjectName(UMLObject * obj); /** * Replaces `string' with STRING_TYPENAME. */ - QString fixTypeName(const QString &string); + TQString fixTypeName(const TQString &string); - QStringList ObjectFieldVariables; - QStringList VectorFieldVariables; + TQStringList ObjectFieldVariables; + TQStringList VectorFieldVariables; }; |