summaryrefslogtreecommitdiffstats
path: root/src/mechanics/mechanicsdocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mechanics/mechanicsdocument.cpp')
-rw-r--r--src/mechanics/mechanicsdocument.cpp4
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));