diff options
author | Timothy Pearson <[email protected]> | 2013-02-04 14:14:55 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-04 14:14:55 -0600 |
commit | de9b6c9ad15f9f51812daae17cce635d1050a9ba (patch) | |
tree | 6b26400ab1a616925443c5d365246eb86c9bad57 /kpersonalizer/kstylepage.cpp | |
parent | 4f841fbbbc5d3399535ade061699cc76363c7a3f (diff) | |
download | tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kpersonalizer/kstylepage.cpp')
-rw-r--r-- | kpersonalizer/kstylepage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp index b6cae1697..1a41ee0bf 100644 --- a/kpersonalizer/kstylepage.cpp +++ b/kpersonalizer/kstylepage.cpp @@ -233,9 +233,9 @@ void TDEStylePage::saveIcons(bool curSettings) { // save, what we got TDEGlobal::config()->setGroup("Icons"); TDEGlobal::config()->writeEntry("Theme", theme, true, true); - KIconTheme icontheme(theme); + TDEIconTheme icontheme(theme); const char * const groups[] = { "Desktop", "Toolbar", "MainToolbar", "Small", 0L }; - for (KIcon::Group i=KIcon::FirstGroup; i<KIcon::LastGroup; i++) { + for (TDEIcon::Group i=TDEIcon::FirstGroup; i<TDEIcon::LastGroup; i++) { if (groups[i] == 0L) break; TDEGlobal::config()->setGroup(TQString::fromLatin1(groups[i]) + "Icons"); @@ -456,9 +456,9 @@ void TDEStylePage::getAvailability() { // check, wich Icon-themes are available icon_crystalsvg_exist = icon_kdeclassic_exist = icon_Locolor_exist = false; - TQStringList icons(KIconTheme::list()); + TQStringList icons(TDEIconTheme::list()); for (TQStringList::iterator it=icons.begin(); it != icons.end(); it++) { - KIconTheme icontheme(*it); + TDEIconTheme icontheme(*it); if (icontheme.isHidden() || !icontheme.isValid()) continue; if (*it == "crystalsvg") icon_crystalsvg_exist = true; else if (*it == "kdeclassic") icon_kdeclassic_exist = true; @@ -514,7 +514,7 @@ void TDEStylePage::initColors() { /** live-update the system */ void TDEStylePage::liveUpdate() { // tell all apps about the changed icons - for (int i=0; i<KIcon::LastGroup; i++) { + for (int i=0; i<TDEIcon::LastGroup; i++) { KIPC::sendMessageAll(KIPC::IconChanged, i); } // tell all apps about the changed style |