From de9b6c9ad15f9f51812daae17cce635d1050a9ba Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:14:55 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kcontrol/kthememanager/ktheme.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol/kthememanager/ktheme.cpp') diff --git a/kcontrol/kthememanager/ktheme.cpp b/kcontrol/kthememanager/ktheme.cpp index e686ef347..94d9bf7bd 100644 --- a/kcontrol/kthememanager/ktheme.cpp +++ b/kcontrol/kthememanager/ktheme.cpp @@ -187,7 +187,7 @@ TQString KTheme::createYourself( bool pack ) // 3. Icons globalConf->setGroup( "Icons" ); TQDomElement iconElem = m_dom.createElement( "icons" ); - iconElem.setAttribute( "name", globalConf->readEntry( "Theme",KIconTheme::current() ) ); + iconElem.setAttribute( "name", globalConf->readEntry( "Theme",TDEIconTheme::current() ) ); createIconElems( "DesktopIcons", "desktop", iconElem, globalConf ); createIconElems( "MainToolbarIcons", "mainToolbar", iconElem, globalConf ); createIconElems( "PanelIcons", "panel", iconElem, globalConf ); @@ -483,7 +483,7 @@ void KTheme::apply() } iconConf->sync(); - for ( int i = 0; i < KIcon::LastGroup; i++ ) + for ( int i = 0; i < TDEIcon::LastGroup; i++ ) KIPC::sendMessageAll( KIPC::IconChanged, i ); KService::rebuildKSycoca( m_parent ); } -- cgit v1.2.3