summaryrefslogtreecommitdiffstats
path: root/kdict/applet/kdictapplet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:17:58 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:17:58 -0600
commit4c6870471be96131ae42a7e20355e6f06029a6d9 (patch)
tree956359e3bdd20d67f4ec60bf724701afc86763a1 /kdict/applet/kdictapplet.cpp
parent2cb1d1c8edcbfae77e25dad2f3aa97e09c627a06 (diff)
downloadtdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.tar.gz
tdenetwork-4c6870471be96131ae42a7e20355e6f06029a6d9.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kdict/applet/kdictapplet.cpp')
-rw-r--r--kdict/applet/kdictapplet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdict/applet/kdictapplet.cpp b/kdict/applet/kdictapplet.cpp
index 8499e23e..681603b4 100644
--- a/kdict/applet/kdictapplet.cpp
+++ b/kdict/applet/kdictapplet.cpp
@@ -99,7 +99,7 @@ DictApplet::DictApplet(const TQString& configFile, Type type, int actions, TQWid
iconLabel = new TQLabel(baseWidget);
iconLabel->setBackgroundOrigin(AncestorOrigin);
- TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", KIcon::Panel, KIcon::SizeSmall, KIcon::DefaultState, 0L, true);
+ TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", TDEIcon::Panel, TDEIcon::SizeSmall, TDEIcon::DefaultState, 0L, true);
iconLabel->setPixmap(pm);
baseLay->addWidget(iconLabel,1,0);
iconLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
@@ -251,8 +251,8 @@ void DictApplet::resizeEvent(TQResizeEvent*)
baseWidget->hide();
verticalBtn->setFixedSize(width(),width());
- KIcon::StdSizes sz = width() < 32 ? KIcon::SizeSmall : (width() < 48 ? KIcon::SizeMedium : KIcon::SizeLarge);
- TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", KIcon::Panel, sz, KIcon::DefaultState, 0L, true);
+ TDEIcon::StdSizes sz = width() < 32 ? TDEIcon::SizeSmall : (width() < 48 ? TDEIcon::SizeMedium : TDEIcon::SizeLarge);
+ TQPixmap pm = TDEGlobal::iconLoader()->loadIcon("kdict", TDEIcon::Panel, sz, TDEIcon::DefaultState, 0L, true);
verticalBtn->setPixmap(pm);
}
}