summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/widget_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/widget_factory.cpp')
-rw-r--r--umbrello/umbrello/widget_factory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/umbrello/umbrello/widget_factory.cpp b/umbrello/umbrello/widget_factory.cpp
index 5bb8eeae..ea58e128 100644
--- a/umbrello/umbrello/widget_factory.cpp
+++ b/umbrello/umbrello/widget_factory.cpp
@@ -54,7 +54,7 @@
namespace Widget_Factory {
UMLWidget *createWidget(UMLView *view, UMLObject *o) {
- QPoint pos = view->getPos();
+ TQPoint pos = view->getPos();
int y = pos.y();
Uml::Diagram_Type diagramType = view->getType();
Uml::Object_Type type = o->getBaseType();
@@ -143,7 +143,7 @@ bool validateObjType(Uml::Object_Type expected, UMLObject* &o, Uml::IDType id) {
if (o == NULL) {
kDebug() << "Widget_Factory::validateObjType: creating new object of type "
<< expected << endl;
- QString artificialName = "LOST_" + ID2STR(id);
+ TQString artificialName = "LOST_" + ID2STR(id);
o = Object_Factory::createUMLObject(expected, artificialName, NULL, false);
if (o == NULL)
return false;
@@ -161,8 +161,8 @@ bool validateObjType(Uml::Object_Type expected, UMLObject* &o, Uml::IDType id) {
return false;
}
-UMLWidget* makeWidgetFromXMI(const QString& tag,
- const QString& idStr, UMLView *view) {
+UMLWidget* makeWidgetFromXMI(const TQString& tag,
+ const TQString& idStr, UMLView *view) {
UMLWidget *widget = NULL;
// Loading of widgets which do NOT represent any UMLObject,