summaryrefslogtreecommitdiffstats
path: root/src/itemlibrary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/itemlibrary.cpp')
-rw-r--r--src/itemlibrary.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/itemlibrary.cpp b/src/itemlibrary.cpp
index 6451e6b..67a1a86 100644
--- a/src/itemlibrary.cpp
+++ b/src/itemlibrary.cpp
@@ -315,7 +315,7 @@ Item *ItemLibrary::createItem( const TQString &id, ItemDocument *itemDocument, b
LibraryItemList::iterator it = m_items.begin();
for ( ; it != end; ++it )
{
- if ( (*it)->allIDs().tqcontains(id) )
+ if ( (*it)->allIDs().contains(id) )
{
item = (*it)->createItemFnPtr()( itemDocument, newItem, newId );
item->m_type = (*it)->activeID();
@@ -359,7 +359,7 @@ TQImage ItemLibrary::itemImage( Item *item, const uint maxSize )
const bool cache = ((bound.width()*bound.height()) > (int)maxSize);
TQString type;
- if ( cache && m_imageMap.tqcontains(item->type()) )
+ if ( cache && m_imageMap.contains(item->type()) )
return m_imageMap[item->type()];
// Create pixmap big enough to contain CNItem and surrounding nodes
@@ -467,7 +467,7 @@ TQPixmap ItemLibrary::itemIconFull( const TQString &id )
LibraryItemList::iterator end = m_items.end();
for ( LibraryItemList::iterator it = m_items.begin(); it != end; ++it )
{
- if ( *it && (*it)->allIDs().tqcontains(id) )
+ if ( *it && (*it)->allIDs().contains(id) )
{
return (*it)->iconFull();
}