summaryrefslogtreecommitdiffstats
path: root/korganizer/koviewmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koviewmanager.cpp')
-rw-r--r--korganizer/koviewmanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index 69bf88b66..9a308fcfd 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -80,7 +80,7 @@ KOrg::BaseView *KOViewManager::currentView()
return mCurrentView;
}
-void KOViewManager::readSettings(KConfig *config)
+void KOViewManager::readSettings(TDEConfig *config)
{
config->setGroup("General");
TQString view = config->readEntry("Current View");
@@ -116,7 +116,7 @@ void KOViewManager::readSettings(KConfig *config)
}
}
-void KOViewManager::writeSettings(KConfig *config)
+void KOViewManager::writeSettings(TDEConfig *config)
{
config->setGroup("General");
@@ -361,7 +361,7 @@ void KOViewManager::showAgendaView()
this, TQT_SLOT( currentAgendaViewTabChanged( TQWidget* ) ) );
parent = mAgendaViewTabs;
- KConfig *config = KOGlobals::self()->config();
+ TDEConfig *config = KOGlobals::self()->config();
config->setGroup( "Views" );
mAgendaViewTabIndex = config->readNumEntry( "Agenda View Tab Index", 0 );
}
@@ -471,7 +471,7 @@ void KOViewManager::showTodoView()
addView( mTodoView );
connectTodoView( mTodoView );
- KConfig *config = KOGlobals::self()->config();
+ TDEConfig *config = KOGlobals::self()->config();
mTodoView->restoreLayout( config, "Todo View" );
}
@@ -550,7 +550,7 @@ TQWidget* KOViewManager::widgetForView( KOrg::BaseView* view ) const
void KOViewManager::currentAgendaViewTabChanged( TQWidget* widget )
{
- KConfig *config = KOGlobals::self()->config();
+ TDEConfig *config = KOGlobals::self()->config();
config->setGroup( "Views" );
config->writeEntry( "Agenda View Tab Index", mAgendaViewTabs->currentPageIndex() );