summaryrefslogtreecommitdiffstats
path: root/lib/plugin.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:06:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:06:56 -0600
commitfbf63c13451c97c63472235ce096539a014aaab4 (patch)
tree1818ef969d2bcb916037ae1f37ccc260ede7b9b9 /lib/plugin.cc
parent57b3d30a9716074784163f5c08d1863494124c14 (diff)
downloadkpilot-fbf63c13451c97c63472235ce096539a014aaab4.tar.gz
kpilot-fbf63c13451c97c63472235ce096539a014aaab4.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'lib/plugin.cc')
-rw-r--r--lib/plugin.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/plugin.cc b/lib/plugin.cc
index 715d29e..c2d00b2 100644
--- a/lib/plugin.cc
+++ b/lib/plugin.cc
@@ -116,7 +116,7 @@ TQWidget *ConduitConfigBase::aboutPage(TQWidget *parent, TDEAboutData *ad)
TQString s;
TQLabel *text;
- KIconLoader *l = TDEGlobal::iconLoader();
+ TDEIconLoader *l = TDEGlobal::iconLoader();
const TDEAboutData *p = ad ? ad : TDEGlobal::instance()->aboutData();
TQGridLayout *grid = new TQGridLayout(w, 5, 4, SPACING);
@@ -127,14 +127,14 @@ TQWidget *ConduitConfigBase::aboutPage(TQWidget *parent, TDEAboutData *ad)
TQPixmap applicationIcon =
l->loadIcon(TQString::fromLatin1(p->appName()),
- KIcon::Desktop,
- 64, KIcon::DefaultState, 0L,
+ TDEIcon::Desktop,
+ 64, TDEIcon::DefaultState, 0L,
true);
if (applicationIcon.isNull())
{
applicationIcon = l->loadIcon(TQString::fromLatin1("kpilot"),
- KIcon::Desktop);
+ TDEIcon::Desktop);
}
text = new TQLabel(w);