summaryrefslogtreecommitdiffstats
path: root/parts/classview/classviewwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/classviewwidget.cpp')
-rw-r--r--parts/classview/classviewwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index 95c2ae2c..1f047168 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -94,7 +94,7 @@ ClassViewWidget::ClassViewWidget( ClassViewPart * part )
m_actionFollowEditor = new KToggleAction( i18n("Follow Editor"), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotFollowEditor()), m_part->actionCollection(), "classview_follow_editor" );
- KConfig* config = m_part->instance()->config();
+ TDEConfig* config = m_part->instance()->config();
config->setGroup( "General" );
setViewMode( config->readNumEntry( "ViewMode", KDevelop3ViewMode ) );
m_doFollowEditor = config->readBoolEntry( "FollowEditor", false );
@@ -102,7 +102,7 @@ ClassViewWidget::ClassViewWidget( ClassViewPart * part )
ClassViewWidget::~ClassViewWidget( )
{
- KConfig* config = m_part->instance()->config();
+ TDEConfig* config = m_part->instance()->config();
config->setGroup( "General" );
config->writeEntry( "ViewMode", viewMode() );
config->writeEntry( "FollowEditor", m_doFollowEditor );