summaryrefslogtreecommitdiffstats
path: root/kooka/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:27 -0600
commit580d345952faf597f69347256e0ad3411725988a (patch)
treeff47470421577a3e0e9f387b324e184e4d008d53 /kooka/main.cpp
parent81576b133797828eaca3ac819f4adca21de8d327 (diff)
downloadtdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz
tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kooka/main.cpp')
-rw-r--r--kooka/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kooka/main.cpp b/kooka/main.cpp
index 95788ebe..df42cc9f 100644
--- a/kooka/main.cpp
+++ b/kooka/main.cpp
@@ -87,7 +87,7 @@ int main( int argc, char *argv[] )
TDEApplication app;
TDEGlobal::locale()->insertCatalogue("libkscan");
KImageIO::registerFormats();
- KIconLoader *loader = TDEGlobal::iconLoader();
+ TDEIconLoader *loader = TDEGlobal::iconLoader();
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
TQCString devToUse = args->getOption( "d" );
@@ -107,8 +107,8 @@ int main( int argc, char *argv[] )
Kooka *kooka = new Kooka(devToUse);
app.setMainWidget( kooka );
- KWin::setIcons(kooka->winId(), loader->loadIcon( "scanner", KIcon::Desktop ),
- loader->loadIcon("scanner", KIcon::Small) );
+ KWin::setIcons(kooka->winId(), loader->loadIcon( "scanner", TDEIcon::Desktop ),
+ loader->loadIcon("scanner", TDEIcon::Small) );
kooka->show();
app.processEvents();