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 | |
parent | 4f841fbbbc5d3399535ade061699cc76363c7a3f (diff) | |
download | tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kpersonalizer')
-rw-r--r-- | kpersonalizer/keyecandypage.cpp | 2 | ||||
-rw-r--r-- | kpersonalizer/krefinepage.cpp | 2 | ||||
-rw-r--r-- | kpersonalizer/kstylepage.cpp | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/kpersonalizer/keyecandypage.cpp b/kpersonalizer/keyecandypage.cpp index 48c001175..1cd24c9ce 100644 --- a/kpersonalizer/keyecandypage.cpp +++ b/kpersonalizer/keyecandypage.cpp @@ -631,7 +631,7 @@ void KEyeCandyPage::save(bool currSettings){ // kicker stuff: Iconzooming etc. kapp->dcopClient()->send( "kicker", "Panel", "configure()", TQString("") ); // Icon stuff - for (int i=0; i<KIcon::LastGroup; i++) { + for (int i=0; i<TDEIcon::LastGroup; i++) { KIPC::sendMessageAll(KIPC::IconChanged, i); } // font stuff diff --git a/kpersonalizer/krefinepage.cpp b/kpersonalizer/krefinepage.cpp index 8ea304140..b5d2991d7 100644 --- a/kpersonalizer/krefinepage.cpp +++ b/kpersonalizer/krefinepage.cpp @@ -33,7 +33,7 @@ KRefinePage::KRefinePage(TQWidget *parent, const char *name ) : KRefinePageDlg(p pb_kcontrol->hide(); lb_kcontrol->hide(); } - px_kcontrol->setPixmap(TDEGlobal::iconLoader()->loadIcon("kcontrol", KIcon::Panel, KIcon::SizeMedium)); + px_kcontrol->setPixmap(TDEGlobal::iconLoader()->loadIcon("kcontrol", TDEIcon::Panel, TDEIcon::SizeMedium)); } KRefinePage::~KRefinePage(){ } 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 |