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/itemlibrary.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/itemlibrary.cpp')
-rw-r--r-- | src/itemlibrary.cpp | 6 |
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(); } |