diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:27 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:16:27 -0600 |
commit | 580d345952faf597f69347256e0ad3411725988a (patch) | |
tree | ff47470421577a3e0e9f387b324e184e4d008d53 /kooka/main.cpp | |
parent | 81576b133797828eaca3ac819f4adca21de8d327 (diff) | |
download | tdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kooka/main.cpp')
-rw-r--r-- | kooka/main.cpp | 6 |
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(); |