summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/umlview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/umlview.cpp')
-rw-r--r--umbrello/umbrello/umlview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/umbrello/umbrello/umlview.cpp b/umbrello/umbrello/umlview.cpp
index c7b76087..17c3bb27 100644
--- a/umbrello/umbrello/umlview.cpp
+++ b/umbrello/umbrello/umlview.cpp
@@ -107,10 +107,10 @@ using namespace Uml;
// constructor
-UMLView::UMLView(UMLFolder *tqparentFolder) : TQCanvasView(UMLApp::app()->getMainViewWidget()) {
+UMLView::UMLView(UMLFolder *parentFolder) : TQCanvasView(UMLApp::app()->getMainViewWidget()) {
init();
m_pDoc = UMLApp::app()->getDocument();
- m_pFolder = tqparentFolder;
+ m_pFolder = parentFolder;
}
void UMLView::init() {
@@ -1149,16 +1149,16 @@ bool UMLView::isSavedInSeparateFile() {
<< "listView->findUMLObject(this) returns false" << endl;
return false;
}
- UMLListViewItem *tqparentItem = dynamic_cast<UMLListViewItem*>( lvItem->tqparent() );
- if (tqparentItem == NULL) {
+ UMLListViewItem *parentItem = dynamic_cast<UMLListViewItem*>( lvItem->tqparent() );
+ if (parentItem == NULL) {
kError() << msgPrefix
<< "tqparent item in listview is not a UMLListViewItem (?)" << endl;
return false;
}
- const Uml::ListView_Type lvt = tqparentItem->getType();
+ const Uml::ListView_Type lvt = parentItem->getType();
if (! Model_Utils::typeIsFolder(lvt))
return false;
- UMLFolder *modelFolder = dynamic_cast<UMLFolder*>(tqparentItem->getUMLObject());
+ UMLFolder *modelFolder = dynamic_cast<UMLFolder*>(parentItem->getUMLObject());
if (modelFolder == NULL) {
kError() << msgPrefix
<< "tqparent model object is not a UMLFolder (?)" << endl;
@@ -1955,8 +1955,8 @@ void UMLView::createAutoAssociations( UMLWidget * widget ) {
// end if
// end loop
// end if
- // if the UMLCanvasObject has a tqparentPackage then
- // if the tqparentPackage has a widget representation on this view then
+ // if the UMLCanvasObject has a parentPackage then
+ // if the parentPackage has a widget representation on this view then
// create the containment AssocWidget
// end if
// end if
@@ -2072,11 +2072,11 @@ void UMLView::createAutoAssociations( UMLWidget * widget ) {
}
}
}
- // if the UMLCanvasObject has a tqparentPackage then
+ // if the UMLCanvasObject has a parentPackage then
UMLPackage *tqparent = umlObj->getUMLPackage();
if (tqparent == NULL)
return;
- // if the tqparentPackage has a widget representation on this view then
+ // if the parentPackage has a widget representation on this view then
Uml::IDType pkgID = tqparent->getID();
UMLWidget *pWidget;
UMLWidgetListIt wit(m_WidgetList);