diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/nexscope/bitmappool.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/nexscope/bitmappool.cpp')
-rw-r--r-- | noatun-plugins/nexscope/bitmappool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noatun-plugins/nexscope/bitmappool.cpp b/noatun-plugins/nexscope/bitmappool.cpp index 0a0ad78..45f35d0 100644 --- a/noatun-plugins/nexscope/bitmappool.cpp +++ b/noatun-plugins/nexscope/bitmappool.cpp @@ -22,7 +22,7 @@ Bitmap *BitmapPool::get(bool clear) { mMutex.lock(); BitmapPool::PoolItem *p=0; - for (QPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i) + for (TQPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i) { if (!(*i)->used) p=*i; @@ -44,7 +44,7 @@ Bitmap *BitmapPool::get(bool clear) void BitmapPool::release(Bitmap *bitmap) { mMutex.lock(); - for (QPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i) + for (TQPtrListIterator<BitmapPool::PoolItem> i(mBitmaps); i.current(); ++i) { if (&((*i)->bitmap)==bitmap) (*i)->used=false; |