summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/viewmanager.cpp')
-rw-r--r--kaddressbook/viewmanager.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp
index 3938c14a9..2616bf330 100644
--- a/kaddressbook/viewmanager.cpp
+++ b/kaddressbook/viewmanager.cpp
@@ -83,7 +83,7 @@ void ViewManager::restoreSettings()
// been modified by global settings
TQDictIterator<KAddressBookView> it( mViewDict );
for ( it.toFirst(); it.current(); ++it ) {
- KConfigGroupSaver saver( mCore->config(), it.currentKey() );
+ TDEConfigGroupSaver saver( mCore->config(), it.currentKey() );
it.current()->readConfig( mCore->config() );
}
@@ -96,7 +96,7 @@ void ViewManager::saveSettings()
{
TQDictIterator<KAddressBookView> it( mViewDict );
for ( it.toFirst(); it.current(); ++it ) {
- KConfigGroupSaver saver( mCore->config(), it.currentKey() );
+ TDEConfigGroupSaver saver( mCore->config(), it.currentKey() );
(*it)->writeConfig( mCore->config() );
}
@@ -199,8 +199,8 @@ void ViewManager::setActiveView( const TQString &name )
// Check if we found the view. If we didn't, then we need to create it
if ( view == 0 ) {
- KConfig *config = mCore->config();
- KConfigGroupSaver saver( config, name );
+ TDEConfig *config = mCore->config();
+ TDEConfigGroupSaver saver( config, name );
TQString type = config->readEntry( "Type", "Table" );
kdDebug(5720) << "ViewManager::setActiveView: creating view - " << name << endl;
@@ -278,7 +278,7 @@ void ViewManager::editView()
if ( wdg ) {
ViewConfigureDialog dlg( wdg, mActiveView->caption(), this );
- KConfigGroupSaver saver( mCore->config(), mActiveView->caption() );
+ TDEConfigGroupSaver saver( mCore->config(), mActiveView->caption() );
dlg.restoreSettings( mCore->config() );
if ( dlg.exec() ) {
@@ -314,7 +314,7 @@ void ViewManager::deleteView()
mViewNameList.remove( mActiveView->caption() );
// remove the view from the config file
- KConfig *config = mCore->config();
+ TDEConfig *config = mCore->config();
config->deleteGroup( mActiveView->caption() );
mViewDict.remove( mActiveView->caption() );
@@ -356,9 +356,9 @@ void ViewManager::addView()
mViewNameList.append( newName );
// write the view to the config file,
- KConfig *config = mCore->config();
+ TDEConfig *config = mCore->config();
config->deleteGroup( newName );
- KConfigGroupSaver saver( config, newName );
+ TDEConfigGroupSaver saver( config, newName );
config->writeEntry( "Type", type );
// try to set the active view