summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/clipboard/umldrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/clipboard/umldrag.cpp')
-rw-r--r--umbrello/umbrello/clipboard/umldrag.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/clipboard/umldrag.cpp b/umbrello/umbrello/clipboard/umldrag.cpp
index 6fb0be93..543a4b39 100644
--- a/umbrello/umbrello/clipboard/umldrag.cpp
+++ b/umbrello/umbrello/clipboard/umldrag.cpp
@@ -439,12 +439,12 @@ bool UMLDrag::decodeClip2(const TQMimeSource* mimeSource, UMLObjectList& objects
while ( !diagramElement.isNull() ) {
TQString type = diagramElement.attribute("type", "0");
Uml::Diagram_Type dt = (Uml::Diagram_Type)type.toInt();
- UMLListViewItem *tqparent = listView->findFolderForDiagram(dt);
- if (tqparent == NULL)
+ UMLListViewItem *parent = listView->findFolderForDiagram(dt);
+ if (parent == NULL)
return false;
- UMLObject *po = tqparent->getUMLObject();
+ UMLObject *po = parent->getUMLObject();
if (po == NULL || po->getBaseType() != Uml::ot_Folder) {
- kError() << "UMLDrag::decodeClip2: bad tqparent for view" << endl;
+ kError() << "UMLDrag::decodeClip2: bad parent for view" << endl;
return false;
}
UMLFolder *f = static_cast<UMLFolder*>(po);
@@ -584,8 +584,8 @@ bool UMLDrag::decodeClip3(const TQMimeSource* mimeSource, UMLListViewItemList& u
continue;
}
Uml::ListView_Type t = (Uml::ListView_Type)(type.toInt());
- UMLListViewItem* tqparent = parentListView->determineParentItem(t);
- UMLListViewItem* itemData = new UMLListViewItem(tqparent);
+ UMLListViewItem* parent = parentListView->determineParentItem(t);
+ UMLListViewItem* itemData = new UMLListViewItem(parent);
if ( itemData->loadFromXMI(listItemElement) )
umlListViewItems.append(itemData);
else