diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | e05894553004a47b1e2f276bedcf5963b57a3932 (patch) | |
tree | 2c12af14a609c053131e3a463068fa7589e6ac6a /src/mechanics/mechanicsdocument.cpp | |
parent | 60cba8acf96454af45641d6190a3f2ac9f9ff9b0 (diff) | |
download | ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.tar.gz ktechlab-e05894553004a47b1e2f276bedcf5963b57a3932.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/mechanics/mechanicsdocument.cpp')
-rw-r--r-- | src/mechanics/mechanicsdocument.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mechanics/mechanicsdocument.cpp b/src/mechanics/mechanicsdocument.cpp index f11d421..98542ef 100644 --- a/src/mechanics/mechanicsdocument.cpp +++ b/src/mechanics/mechanicsdocument.cpp @@ -139,7 +139,7 @@ bool MechanicsDocument::registerItem( TQCanvasItem *qcanvasItem ) void MechanicsDocument::appendDeleteList( TQCanvasItem *qcanvasItem ) { MechanicsItem *mechItem = dynamic_cast<MechanicsItem*>(qcanvasItem); - if ( !mechItem || m_itemDeleteList.tqcontains(mechItem) ) { + if ( !mechItem || m_itemDeleteList.contains(mechItem) ) { return; } @@ -159,7 +159,7 @@ void MechanicsDocument::flushDeleteList() ItemList::iterator end = m_itemDeleteList.end(); for ( ItemList::iterator it = m_itemDeleteList.begin(); it != end; ++it ) { - if ( *it && m_itemDeleteList.tqcontains(*it) > 1 ) + if ( *it && m_itemDeleteList.contains(*it) > 1 ) *it = 0l; } m_itemDeleteList.remove(TQGuardedPtr<Item>(0l)); |