diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:16:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:16:51 -0600 |
commit | f2bfcad7ffdd09911f282afe2a2051b3708601c9 (patch) | |
tree | ce4bebc206b6f9753745218e6a4c4368df624c16 /tdecore/kapplication.cpp | |
parent | a14eaa044240517f1f3d7eb5dacbff96fd447ada (diff) | |
download | tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.tar.gz tdelibs-f2bfcad7ffdd09911f282afe2a2051b3708601c9.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'tdecore/kapplication.cpp')
-rw-r--r-- | tdecore/kapplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/kapplication.cpp b/tdecore/kapplication.cpp index 57f3a3811..773c5550c 100644 --- a/tdecore/kapplication.cpp +++ b/tdecore/kapplication.cpp @@ -570,7 +570,7 @@ bool TDEApplication::notify(TQObject *receiver, TQEvent *event) static TQPixmap* ic = NULL; if( ic == NULL ) ic = new TQPixmap( TDEGlobal::iconLoader()->loadIcon( iconName(), - KIcon::NoGroup, 0, KIcon::DefaultState, NULL, true )); + TDEIcon::NoGroup, 0, TDEIcon::DefaultState, NULL, true )); if( !ic->isNull()) { w->setIcon( *ic ); @@ -978,7 +978,7 @@ void TDEApplication::init(bool GUIenabled) #ifdef Q_WS_MACX if (GUIenabled) { TQPixmap pixmap = TDEGlobal::iconLoader()->loadIcon( TDECmdLineArgs::appName(), - KIcon::NoGroup, KIcon::SizeLarge, KIcon::DefaultState, 0L, false ); + TDEIcon::NoGroup, TDEIcon::SizeLarge, TDEIcon::DefaultState, 0L, false ); if (!pixmap.isNull()) { TQImage i = pixmap.convertToImage().convertDepth(32).smoothScale(40, 40); for(int y = 0; y < i.height(); y++) { |