summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/nexscope/bitmappool.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /noatun-plugins/nexscope/bitmappool.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-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.cpp4
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;