From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kaddressbook/viewmanager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kaddressbook/viewmanager.cpp') diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 3938c14a..2616bf33 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -83,7 +83,7 @@ void ViewManager::restoreSettings() // been modified by global settings TQDictIterator 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 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 -- cgit v1.2.3