From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysguard/gui/SensorDisplayLib/ProcessList.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'ksysguard/gui/SensorDisplayLib/ProcessList.cc') diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc index 2f5b3fe51..1a0dd5ee5 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc @@ -611,7 +611,7 @@ ProcessList::addProcess(KSGRD::SensorPSLine* p, ProcessLVI* pli) pix = KGlobal::iconLoader()->loadIcon(name, KIcon::Small, KIcon::SizeSmall, KIcon::DefaultState, 0L, true); - if (pix.isNull() || !pix.mask()) + if (pix.isNull() || !pix.tqmask()) pix = KGlobal::iconLoader()->loadIcon("unknownapp", KIcon::User, KIcon::SizeSmall); @@ -634,9 +634,9 @@ ProcessList::addProcess(KSGRD::SensorPSLine* p, ProcessLVI* pli) { icon.fill(); bitBlt(&icon, 4, 0, &pix, 0, 0, pix.width(), pix.height()); - TQBitmap mask(24, 16, true); - bitBlt(&mask, 4, 0, pix.mask(), 0, 0, pix.width(), pix.height()); - icon.setMask(mask); + TQBitmap tqmask(24, 16, true); + bitBlt(&tqmask, 4, 0, pix.tqmask(), 0, 0, pix.width(), pix.height()); + icon.setMask(tqmask); pix = icon; } iconCache.insert(name, new TQPixmap(pix)); @@ -909,7 +909,7 @@ ProcessList::selectAllItems(bool select) for ( ; it.current(); ++it ) { it.current()->setSelected(select); - repaintItem(it.current()); + tqrepaintItem(it.current()); if (select) selectedPIds.append(it.current()->text(1).toInt()); } @@ -928,7 +928,7 @@ ProcessList::selectAllChilds(int pid, bool select) { int currPId = it.current()->text(1).toInt(); it.current()->setSelected(select); - repaintItem(it.current()); + tqrepaintItem(it.current()); if (select) selectedPIds.append(currPId); else -- cgit v1.2.1