summaryrefslogtreecommitdiffstats
path: root/kview/config/kviewconfmodules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kview/config/kviewconfmodules.cpp')
-rw-r--r--kview/config/kviewconfmodules.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kview/config/kviewconfmodules.cpp b/kview/config/kviewconfmodules.cpp
index e994d8ed..2b0a8537 100644
--- a/kview/config/kviewconfmodules.cpp
+++ b/kview/config/kviewconfmodules.cpp
@@ -57,16 +57,16 @@ KViewGeneralConfig::~KViewGeneralConfig()
void KViewGeneralConfig::save()
{
- KConfigGroup cfgGroup( KGlobal::config(), "KView General" );
+ KConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
m_savedPosition = m_pResizeGroup->id( m_pResizeGroup->selected() );
cfgGroup.writeEntry( "Resize Mode", m_savedPosition );
emit changed( false );
- KGlobal::config()->sync();
+ TDEGlobal::config()->sync();
}
void KViewGeneralConfig::load()
{
- KConfigGroup cfgGroup( KGlobal::config(), "KView General" );
+ KConfigGroup cfgGroup( TDEGlobal::config(), "KView General" );
int m_savedPosition = cfgGroup.readNumEntry( "Resize Mode", 2 );
if( m_savedPosition < 0 || m_savedPosition > 3 )
m_savedPosition = 2;