diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 9150603ad32928e9c514c0492a8518b742d82ac3 (patch) | |
tree | 6e3f83e2b94146bb42eed57eb6dd8f2fb0369e6f /umbrello/umbrello/umldoc.cpp | |
parent | 6b126a99d5eecef5cb96589ed5c2e522bcb06ca9 (diff) | |
download | tdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.tar.gz tdesdk-9150603ad32928e9c514c0492a8518b742d82ac3.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/umldoc.cpp')
-rw-r--r-- | umbrello/umbrello/umldoc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/umbrello/umbrello/umldoc.cpp b/umbrello/umbrello/umldoc.cpp index acc77eee..de6fc9af 100644 --- a/umbrello/umbrello/umldoc.cpp +++ b/umbrello/umbrello/umldoc.cpp @@ -769,7 +769,7 @@ bool UMLDoc::isUnique(const TQString &name) { UMLListView *listView = UMLApp::app()->getListView(); UMLListViewItem *currentItem = (UMLListViewItem*)listView->currentItem(); - UMLListViewItem *tqparentItem = 0; + UMLListViewItem *parentItem = 0; // check for current item, if its a package, then we do a check on that // otherwise, if current item exists, find its tqparent and check if thats @@ -780,13 +780,13 @@ bool UMLDoc::isUnique(const TQString &name) // do check now if (Model_Utils::typeIsContainer(currentItem->getType())) return isUnique (name, (UMLPackage*) currentItem->getUMLObject()); - tqparentItem = (UMLListViewItem*)currentItem->tqparent(); + parentItem = (UMLListViewItem*)currentItem->tqparent(); } // item is in a package so do check only in that - if (tqparentItem != NULL && Model_Utils::typeIsContainer(tqparentItem->getType())) { - UMLPackage *tqparentPkg = static_cast<UMLPackage*>(tqparentItem->getUMLObject()); - return isUnique(name, tqparentPkg); + if (parentItem != NULL && Model_Utils::typeIsContainer(parentItem->getType())) { + UMLPackage *parentPkg = static_cast<UMLPackage*>(parentItem->getUMLObject()); + return isUnique(name, parentPkg); } kError() << "UMLDoc::isUnique(" << name << "): Not currently in a package" @@ -1524,8 +1524,8 @@ bool UMLDoc::loadFromXMI( TQIODevice & file, short encode ) tagEq(tag, "Interface")) { // These tests are only for foreign XMI files that // are missing the <Model> tag (e.g. NSUML) - TQDomElement tqparentElem = node.toElement(); - if( !loadUMLObjectsFromXMI( tqparentElem ) ) { + TQDomElement parentElem = node.toElement(); + if( !loadUMLObjectsFromXMI( parentElem ) ) { kWarning() << "failed load on model objects" << endl; return false; } |