summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewmanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kaddressbook/viewmanager.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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