summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/import_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/codeimport/import_utils.h')
-rw-r--r--umbrello/umbrello/codeimport/import_utils.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/umbrello/umbrello/codeimport/import_utils.h b/umbrello/umbrello/codeimport/import_utils.h
index 7d36bc77..f04aa3be 100644
--- a/umbrello/umbrello/codeimport/import_utils.h
+++ b/umbrello/umbrello/codeimport/import_utils.h
@@ -12,7 +12,7 @@
#ifndef IMPORT_UTILS_H
#define IMPORT_UTILS_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include "../umlnamespace.h"
#include "../umlattributelist.h"
@@ -34,10 +34,10 @@ namespace Import_Utils {
* Find or create a document object.
*/
UMLObject* createUMLObject(Uml::Object_Type type,
- const QString& name,
+ const TQString& name,
UMLPackage *parentPkg = NULL,
- const QString& comment = QString::null,
- const QString& stereotype = QString::null);
+ const TQString& comment = TQString::null,
+ const TQString& stereotype = TQString::null);
/**
* Control whether an object which is newly created by createUMLObject()
* is put at the global scope.
@@ -66,18 +66,18 @@ namespace Import_Utils {
* Create a UMLAttribute and insert it into the document.
*/
UMLObject* insertAttribute(UMLClassifier *klass, Uml::Visibility scope,
- const QString& name,
- const QString& type,
- const QString& comment = QString::null,
+ const TQString& name,
+ const TQString& type,
+ const TQString& comment = TQString::null,
bool isStatic = false);
/**
* Create a UMLAttribute and insert it into the document.
* Use the specified existing attrType.
*/
UMLObject* insertAttribute(UMLClassifier *klass, Uml::Visibility scope,
- const QString& name,
+ const TQString& name,
UMLClassifier *attrType,
- const QString& comment /* ="" */,
+ const TQString& comment /* ="" */,
bool isStatic /* =false */);
/**
* Create a UMLOperation.
@@ -88,7 +88,7 @@ namespace Import_Utils {
* a conflict with a pre-existing parameterless method of the same
* name.)
*/
- UMLOperation* makeOperation(UMLClassifier *parent, const QString &name);
+ UMLOperation* makeOperation(UMLClassifier *parent, const TQString &name);
/**
* Insert the UMLOperation into the given classifier.
@@ -109,10 +109,10 @@ namespace Import_Utils {
* @param comment The Documentation for this method
*/
void insertMethod(UMLClassifier *klass, UMLOperation* &op,
- Uml::Visibility scope, const QString& type,
+ Uml::Visibility scope, const TQString& type,
bool isStatic, bool isAbstract,
bool isFriend = false, bool isConstructor = false,
- const QString& comment = QString::null);
+ const TQString& comment = TQString::null);
/**
* Add an argument to a UMLOperation.
@@ -120,14 +120,14 @@ namespace Import_Utils {
* prefixes in the `type'.
*/
UMLAttribute* addMethodParameter(UMLOperation *method,
- const QString& type,
- const QString& name);
+ const TQString& type,
+ const TQString& name);
/**
* Add an enum literal to an UMLEnum.
*/
- void addEnumLiteral(UMLEnum *enumType, const QString &literal,
- const QString &comment = QString());
+ void addEnumLiteral(UMLEnum *enumType, const TQString &literal,
+ const TQString &comment = TQString());
/**
* Create a generalization from the given child classifier to the given
@@ -139,12 +139,12 @@ namespace Import_Utils {
* Create a generalization from the existing child UMLObject to the given
* parent class name.
*/
- void createGeneralization(UMLClassifier *child, const QString &parentName);
+ void createGeneralization(UMLClassifier *child, const TQString &parentName);
/**
* Strip comment lines of leading whitespace and stars.
*/
- QString formatComment(const QString &comment);
+ TQString formatComment(const TQString &comment);
/**
* Return the list of paths set by previous calls to addIncludePath()
@@ -152,12 +152,12 @@ namespace Import_Utils {
* This list can be used for finding #included (or Ada with'ed or...)
* files.
*/
- QStringList includePathList();
+ TQStringList includePathList();
/**
* Add a path to the include path list.
*/
- void addIncludePath(const QString& path);
+ void addIncludePath(const TQString& path);
/**
* Returns whether the last createUMLObject() actually created
@@ -168,7 +168,7 @@ namespace Import_Utils {
/**
* Returns true if a type is an actual Datatype
*/
- bool isDatatype(const QString& name, UMLPackage *parentPkg = NULL);
+ bool isDatatype(const TQString& name, UMLPackage *parentPkg = NULL);
} // end namespace Import_Utils