summaryrefslogtreecommitdiffstats
path: root/src/knutclient.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:04:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:04:17 -0600
commit9637803529642b66d4983d4f1faed25311004fda (patch)
tree93737032c0172f23d9d41fa4c457e7d0a816f02d /src/knutclient.cpp
parent5a480fa57527b23c47e908ff9b6395da1c36f270 (diff)
downloadknutclient-9637803529642b66d4983d4f1faed25311004fda.tar.gz
knutclient-9637803529642b66d4983d4f1faed25311004fda.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'src/knutclient.cpp')
-rwxr-xr-xsrc/knutclient.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/knutclient.cpp b/src/knutclient.cpp
index 1ed6c60..b310a57 100755
--- a/src/knutclient.cpp
+++ b/src/knutclient.cpp
@@ -377,9 +377,9 @@ void KNutClient::initVars (void) {
settingData.analogScaleColor=kapp->config()->readColorEntry ("AnalogScaleColor",& DEFAULT_SCALE_COLOR);
settingData.analogFontColor=kapp->config()->readColorEntry ("AnalogFontColor",& DEFAULT_FONT_COLOR);
settingData.toolTipFlags=kapp->config()->readUnsignedNumEntry("ToolTipFlags",KNutDock::DefaultToolTipFlags);
- settingData.customKIconColor=kapp->config()->readBoolEntry("CustomKIconColor",FALSE);
- settingData.kIconBackgroundColor=kapp->config()->readColorEntry ("KIconBackGroundColor",& DEFAULT_KICON_COLOR);
- settingData.typeOfKIcon=kapp->config()->readBoolEntry("TypeOfKIcon", KNutDock::pictureKI);
+ settingData.customTDEIconColor=kapp->config()->readBoolEntry("CustomTDEIconColor",FALSE);
+ settingData.kIconBackgroundColor=kapp->config()->readColorEntry ("TDEIconBackGroundColor",& DEFAULT_KICON_COLOR);
+ settingData.typeOfTDEIcon=kapp->config()->readBoolEntry("TypeOfTDEIcon", KNutDock::pictureKI);
settingData.typeDigitalProcessing=kapp->config()->readNumEntry("DigitalProcessingOfPointers", 2);
@@ -439,9 +439,9 @@ void KNutClient::saveConfiguration ( bool all ) {
if (all) {
kapp->config()->writeEntry ("DigitalProcessingOfPointers",settingData.typeDigitalProcessing);
- kapp->config()->writeEntry ("TypeOfKIcon",settingData.typeOfKIcon);
- kapp->config()->writeEntry ("KIconBackGroundColor",settingData.kIconBackgroundColor);
- kapp->config()->writeEntry ("CustomKIconColor",(settingData.customKIconColor));
+ kapp->config()->writeEntry ("TypeOfTDEIcon",settingData.typeOfTDEIcon);
+ kapp->config()->writeEntry ("TDEIconBackGroundColor",settingData.kIconBackgroundColor);
+ kapp->config()->writeEntry ("CustomTDEIconColor",(settingData.customTDEIconColor));
kapp->config()->writeEntry ("ToolTipFlags",(settingData.toolTipFlags));
}
@@ -995,15 +995,15 @@ void KNutClient::slotSetConfig (unsigned int changeSetting) {
if (m_myDock) m_myDock->changeUps();
}
- if (changeSetting & KNutPrefDlg::ChangeTypeOfKIcon) {
- if (m_myDock) m_myDock->changeKIcon();
+ if (changeSetting & KNutPrefDlg::ChangeTypeOfTDEIcon) {
+ if (m_myDock) m_myDock->changeTDEIcon();
}
- if (changeSetting & KNutPrefDlg::ChangeCustomKIconColor) {
+ if (changeSetting & KNutPrefDlg::ChangeCustomTDEIconColor) {
if (m_myDock) m_myDock->changeKIBColor();
}
- if (changeSetting & KNutPrefDlg::ChangeKIconBColor) {
+ if (changeSetting & KNutPrefDlg::ChangeTDEIconBColor) {
if (m_myDock) m_myDock->changeKIBColor();
}