diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e47aaa9b34ffc363d268aca989aab28fdfaf9821 (patch) | |
tree | 369b56d21949c574d30f71bdf24bf1e04f5e1877 /src/canvasmanipulator.cpp | |
parent | e05894553004a47b1e2f276bedcf5963b57a3932 (diff) | |
download | ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.tar.gz ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/canvasmanipulator.cpp')
-rw-r--r-- | src/canvasmanipulator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/canvasmanipulator.cpp b/src/canvasmanipulator.cpp index cdf3fce..8fef847 100644 --- a/src/canvasmanipulator.cpp +++ b/src/canvasmanipulator.cpp @@ -134,7 +134,7 @@ void CMManager::mousePressEvent( EventInfo eventInfo ) { Widget *widget = dynamic_cast<Widget*>(eventInfo.qcanvasItemClickedOn); if (widget) - eventInfo.qcanvasItemClickedOn = widget->tqparent(); + eventInfo.qcanvasItemClickedOn = widget->parent(); } case ItemDocument::RTTI::CNItem: { @@ -197,7 +197,7 @@ void CMManager::mouseDoubleClickEvent( const EventInfo &eventInfo ) Widget *widget = dynamic_cast<Widget*>(eventInfo.qcanvasItemClickedOn); if (widget) { - widget->tqparent()->mouseDoubleClickEvent(eventInfo); + widget->parent()->mouseDoubleClickEvent(eventInfo); return; } } @@ -226,7 +226,7 @@ void CMManager::mouseMoveEvent( const EventInfo &eventInfo ) Item *item; Widget *widget = dynamic_cast<Widget*>(qcnItem); if (widget) - item = widget->tqparent(); + item = widget->parent(); else item = dynamic_cast<Item*>(qcnItem); @@ -299,7 +299,7 @@ void CMManager::wheelEvent( const EventInfo &eventInfo ) Item *item; Widget *widget = dynamic_cast<Widget*>(qcnItem); if (widget) - item = widget->tqparent(); + item = widget->parent(); else item = dynamic_cast<Item*>(qcnItem); |