summaryrefslogtreecommitdiffstats
path: root/kompare/libdialogpages/viewsettings.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:49 -0600
commitf8069e2ea048f2657cc417d83820576ec55c181b (patch)
treecbc5bf540866934a91e0f33b260fc7a25e191fad /kompare/libdialogpages/viewsettings.cpp
parente6aaa3624cc6179b82a9bfff1760e742a669064c (diff)
downloadtdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.tar.gz
tdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kompare/libdialogpages/viewsettings.cpp')
-rw-r--r--kompare/libdialogpages/viewsettings.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kompare/libdialogpages/viewsettings.cpp b/kompare/libdialogpages/viewsettings.cpp
index 85420d53..8bbd8895 100644
--- a/kompare/libdialogpages/viewsettings.cpp
+++ b/kompare/libdialogpages/viewsettings.cpp
@@ -46,9 +46,9 @@ ViewSettings::~ViewSettings()
{
}
-void ViewSettings::loadSettings( KConfig* config )
+void ViewSettings::loadSettings( TDEConfig* config )
{
- KConfigGroup cfg( config, "View Options" );
+ TDEConfigGroup cfg( config, "View Options" );
m_removeColor = cfg.readColorEntry( "RemoveColor", &default_removeColor );
m_changeColor = cfg.readColorEntry( "ChangeColor", &default_changeColor );
m_addColor = cfg.readColorEntry( "AddColor", &default_addColor );
@@ -61,9 +61,9 @@ void ViewSettings::loadSettings( KConfig* config )
m_font = cfg.readFontEntry ( "TextFont", &stdFixed );
}
-void ViewSettings::saveSettings( KConfig* config )
+void ViewSettings::saveSettings( TDEConfig* config )
{
- KConfigGroup cfg( config, "View Options" );
+ TDEConfigGroup cfg( config, "View Options" );
cfg.writeEntry( "RemoveColor", m_removeColor );
cfg.writeEntry( "ChangeColor", m_changeColor );
cfg.writeEntry( "AddColor", m_addColor );