summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/petaltree2uml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/petaltree2uml.cpp')
-rw-r--r--umbrello/umbrello/petaltree2uml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/umbrello/umbrello/petaltree2uml.cpp b/umbrello/umbrello/petaltree2uml.cpp
index 42fa038d..6bd4086f 100644
--- a/umbrello/umbrello/petaltree2uml.cpp
+++ b/umbrello/umbrello/petaltree2uml.cpp
@@ -77,7 +77,7 @@ TQString quidu(const PetalNode *node) {
Uml::Object_Type typeToCreate(const TQString& name) {
TQString n = name;
n.remove(TQRegExp("^.*::")); // don't consider the scope prefix, it may contain spaces
- Uml::Object_Type t = (n.tqcontains(TQRegExp("\\W")) ? Uml::ot_Datatype : Uml::ot_Class);
+ Uml::Object_Type t = (n.contains(TQRegExp("\\W")) ? Uml::ot_Datatype : Uml::ot_Class);
return t;
}
@@ -556,12 +556,12 @@ bool importView(PetalNode *root, const TQString& rootName,
const TQString& modelsName, UMLListViewItem *lvParent) {
PetalNode *viewRoot = root->findAttribute(rootName).node;
if (viewRoot == NULL) {
- kDebug() << "importView: cannot tqfind " << rootName << endl;
+ kDebug() << "importView: cannot find " << rootName << endl;
return false;
}
PetalNode *models = viewRoot->findAttribute(modelsName).node;
if (models == NULL) {
- kError() << "importView: cannot tqfind " << modelsName
+ kError() << "importView: cannot find " << modelsName
<< " of " << rootName << endl;
return false;
}