summaryrefslogtreecommitdiffstats
path: root/kpersonalizer/kstylepage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /kpersonalizer/kstylepage.cpp
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kpersonalizer/kstylepage.cpp')
-rw-r--r--kpersonalizer/kstylepage.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp
index 1c48dd6c9..1b10d3082 100644
--- a/kpersonalizer/kstylepage.cpp
+++ b/kpersonalizer/kstylepage.cpp
@@ -106,7 +106,7 @@ void KStylePage::save(bool curSettings){
/** save the widget-style */
void KStylePage::saveStyle(bool curSettings){
TQString style = curSettings ? currentStyle : origStyle;
- KConfig cfg( "kdeglobals" );
+ TDEConfig cfg( "kdeglobals" );
cfg.setGroup("General");
cfg.writeEntry( "widgetStyle", style, true, true );
cfg.sync();
@@ -160,7 +160,7 @@ void KStylePage::saveColors(bool curSettings){
// the GLOBAL config entries must be taken from the kcsrc file and written to it. Use the default values
// equals that the file is <default> which is no file. TODO: use the default values in that case (kde selected)
- KConfig *config = TDEGlobal::config();
+ TDEConfig *config = TDEGlobal::config();
config->setGroup( "General" );
config->writeEntry("foreground", toSave->foreground, true, true);
config->writeEntry("background", toSave->background, true, true);
@@ -206,7 +206,7 @@ void KStylePage::saveColors(bool curSettings){
config->sync();
// background color changes
- KConfig kdesktop("kdesktoprc");
+ TDEConfig kdesktop("kdesktoprc");
kdesktop.setGroup("Desktop0"); // we only need to set one desktop
kdesktop.writeEntry("BackgroundMode", toSave->bgMode);
@@ -320,7 +320,7 @@ void KStylePage::setDefaults(){
/** Fill a colorSet with a colorfile, or the default. */
void KStylePage::getColors(colorSet *set, bool colorfile ){
- KConfig* config;
+ TDEConfig* config;
bool deleteConfig = false;
// get the color scheme file and go to the color scheme group
if(colorfile){
@@ -369,7 +369,7 @@ void KStylePage::getColors(colorSet *set, bool colorfile ){
deleteConfig = true;
}
else {
- KConfig kdesktop("kdesktoprc");
+ TDEConfig kdesktop("kdesktoprc");
kdesktop.setGroup("Desktop0");
// set Background (userSettings if available, else default)
set->bgMode=kdesktop.readEntry("BackgroundMode", "Flat");
@@ -473,7 +473,7 @@ void KStylePage::getUserDefaults() {
origStyle = TDEGlobal::config()->readEntry( "widgetStyle", KStyle::defaultStyle() );
// get the user's current KWin-style
- ctwin = new KConfig("twinrc");
+ ctwin = new TDEConfig("twinrc");
ctwin->setGroup("Style");
origKWinStyle = ctwin->readEntry("PluginLib", defaultKWinStyle);