summaryrefslogtreecommitdiffstats
path: root/parts/classview
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview')
-rw-r--r--parts/classview/classviewwidget.cpp4
-rw-r--r--parts/classview/navigator.cpp2
2 files changed, 3 insertions, 3 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 );
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 0d9d6a7a..5379119c 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -198,7 +198,7 @@ void Navigator::slotCursorPositionChanged()
//FIXME: we assume that background parser delay is set globally in tdeveloprc file
//for all available language supports
//this is reasonable assumption because problem reporter should be the same for all languages
- KConfig* config = kapp->config();
+ TDEConfig* config = kapp->config();
config->setGroup( "General Options" );
int m_delay = config->readNumEntry( "BgParserDelay", 500 );