summaryrefslogtreecommitdiffstats
path: root/src/suspenddialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:07:04 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:07:04 -0600
commit4be77699244e2576be269620e6e049910e9aa880 (patch)
treeeed48aed1487d9c7c3749640fb4aa82125300c36 /src/suspenddialog.cpp
parent50b2bf536162a595896d2c25b45bc73193f4cabb (diff)
downloadtdepowersave-4be77699244e2576be269620e6e049910e9aa880.tar.gz
tdepowersave-4be77699244e2576be269620e6e049910e9aa880.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/suspenddialog.cpp')
-rw-r--r--src/suspenddialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/suspenddialog.cpp b/src/suspenddialog.cpp
index af6e7b0..ac05c4b 100644
--- a/src/suspenddialog.cpp
+++ b/src/suspenddialog.cpp
@@ -59,13 +59,13 @@ void suspendDialog::setPixmap( TQString type )
{
TQPixmap pixmap = 0;
if(type.startsWith("suspend2disk")){// || type.startsWith("NULL")) {
- pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_disk", KIcon::NoGroup, KIcon::SizeLarge);
+ pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_disk", TDEIcon::NoGroup, TDEIcon::SizeLarge);
} else if (type.startsWith("suspend2ram")) {
- pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_ram", KIcon::NoGroup, KIcon::SizeLarge);
+ pixmap = TDEGlobal::iconLoader()->loadIcon("suspend_to_ram", TDEIcon::NoGroup, TDEIcon::SizeLarge);
} else if (type.startsWith("standby")) {
- pixmap = TDEGlobal::iconLoader()->loadIcon("stand_by", KIcon::NoGroup, KIcon::SizeLarge);
+ pixmap = TDEGlobal::iconLoader()->loadIcon("stand_by", TDEIcon::NoGroup, TDEIcon::SizeLarge);
} else {
- pixmap = TDEGlobal::iconLoader()->loadIcon("kpowersave", KIcon::NoGroup, KIcon::SizeLarge);
+ pixmap = TDEGlobal::iconLoader()->loadIcon("kpowersave", TDEIcon::NoGroup, TDEIcon::SizeLarge);
}
setCaption(i18n("Preparing Suspend..."));
iconPixmap->setPixmap( pixmap );