From 580d345952faf597f69347256e0ad3411725988a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:27 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kooka/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kooka/main.cpp') 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(); -- cgit v1.2.1