diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:38:54 -0600 |
commit | da1522385e5367bae56b90fac55c4355e475905b (patch) | |
tree | bfa432864dbf322feb4ed3a878f1222ee8ea7727 /parts/snippet | |
parent | b9e542d0c805e9adee3a67e44532d5321032e21e (diff) | |
download | tdevelop-da1522385e5367bae56b90fac55c4355e475905b.tar.gz tdevelop-da1522385e5367bae56b90fac55c4355e475905b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'parts/snippet')
-rw-r--r-- | parts/snippet/snippet_widget.cpp | 4 | ||||
-rw-r--r-- | parts/snippet/snippet_widget.h | 6 |
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: |