summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:14:55 -0600
commitde9b6c9ad15f9f51812daae17cce635d1050a9ba (patch)
tree6b26400ab1a616925443c5d365246eb86c9bad57 /ksysguard/gui/SensorDisplayLib
parent4f841fbbbc5d3399535ade061699cc76363c7a3f (diff)
downloadtdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz
tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib')
-rw-r--r--ksysguard/gui/SensorDisplayLib/ProcessList.cc10
-rw-r--r--ksysguard/gui/SensorDisplayLib/SensorDisplay.cc4
2 files changed, 7 insertions, 7 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc
index 507e57927..d151486e5 100644
--- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc
+++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc
@@ -613,16 +613,16 @@ ProcessList::addProcess(KSGRD::SensorPSLine* p, ProcessLVI* pli)
TQPixmap pix;
if (!iconCache[name])
{
- pix = TDEGlobal::iconLoader()->loadIcon(name, KIcon::Small,
- KIcon::SizeSmall, KIcon::DefaultState,
+ pix = TDEGlobal::iconLoader()->loadIcon(name, TDEIcon::Small,
+ TDEIcon::SizeSmall, TDEIcon::DefaultState,
0L, true);
if (pix.isNull() || !pix.mask())
- pix = TDEGlobal::iconLoader()->loadIcon("unknownapp", KIcon::User,
- KIcon::SizeSmall);
+ pix = TDEGlobal::iconLoader()->loadIcon("unknownapp", TDEIcon::User,
+ TDEIcon::SizeSmall);
if (pix.width() != 16 || pix.height() != 16)
{
- /* I guess this isn't needed too often. The KIconLoader should
+ /* I guess this isn't needed too often. The TDEIconLoader should
* scale the pixmaps already appropriately. Since I got a bug
* report claiming that it doesn't work with GNOME apps I've
* added this safeguard. */
diff --git a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
index 593dcb00a..c6650b77f 100644
--- a/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
+++ b/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
@@ -439,8 +439,8 @@ void SensorDisplay::setSensorOk( bool ok )
if ( mErrorIndicator )
return;
- TQPixmap errorIcon = TDEGlobal::iconLoader()->loadIcon( "connect_creating", KIcon::Desktop,
- KIcon::SizeSmall );
+ TQPixmap errorIcon = TDEGlobal::iconLoader()->loadIcon( "connect_creating", TDEIcon::Desktop,
+ TDEIcon::SizeSmall );
if ( !mPlotterWdg )
return;