summaryrefslogtreecommitdiffstats
path: root/parts/snippet
diff options
context:
space:
mode:
Diffstat (limited to 'parts/snippet')
-rw-r--r--parts/snippet/snippet_widget.cpp4
-rw-r--r--parts/snippet/snippet_widget.h6
2 files changed, 5 insertions, 5 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");
diff --git a/parts/snippet/snippet_widget.h b/parts/snippet/snippet_widget.h
index 5277e8d5..1a0ef8c1 100644
--- a/parts/snippet/snippet_widget.h
+++ b/parts/snippet/snippet_widget.h
@@ -28,7 +28,7 @@ class TQPoint;
class SnippetDlg;
class SnippetItem;
class KTextEdit;
-class KConfig;
+class TDEConfig;
/**
@@ -49,7 +49,7 @@ public:
~SnippetWidget();
TQPtrList<SnippetItem> * getList() { return (&_list); }
void writeConfig();
- void initConfigOldVersion(KConfig *cfg);
+ void initConfigOldVersion(TDEConfig *cfg);
SnippetConfig * getSnippetConfig() { return (&_SnippetConfig); }
@@ -71,7 +71,7 @@ private:
TQPtrList<SnippetItem> _list;
TQMap<TQString, TQString> _mapSaved;
- KConfig * _cfg;
+ TDEConfig * _cfg;
SnippetConfig _SnippetConfig;
public slots: