summaryrefslogtreecommitdiffstats
path: root/parts/snippet/snippet_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/snippet/snippet_widget.cpp')
-rw-r--r--parts/snippet/snippet_widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp
index 4c67b158..1cf8a398 100644
--- a/parts/snippet/snippet_widget.cpp
+++ b/parts/snippet/snippet_widget.cpp
@@ -385,7 +385,7 @@ void SnippetWidget::writeConfig()
As far as some guys might have some snippets stored in the "old" way
we need to create a "DEFAULT" group into which we can import all snippets
*/
-void SnippetWidget::initConfigOldVersion(KConfig *cfg)
+void SnippetWidget::initConfigOldVersion(TDEConfig *cfg)
{
SnippetGroup * group = new SnippetGroup(this, "DEFAULT", 1);
_list.append(group);
@@ -418,7 +418,7 @@ void SnippetWidget::initConfigOldVersion(KConfig *cfg)
void SnippetWidget::initConfig()
{
if (_cfg == NULL)
- _cfg = new KConfig("kdevsnippetrc", false, false);
+ _cfg = new TDEConfig("kdevsnippetrc", false, false);
_cfg->setGroup("SnippetPart");