summaryrefslogtreecommitdiffstats
path: root/kate/snippets/plugin_katesnippets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/snippets/plugin_katesnippets.cpp')
-rw-r--r--kate/snippets/plugin_katesnippets.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kate/snippets/plugin_katesnippets.cpp b/kate/snippets/plugin_katesnippets.cpp
index 856cfbc..f6c173e 100644
--- a/kate/snippets/plugin_katesnippets.cpp
+++ b/kate/snippets/plugin_katesnippets.cpp
@@ -254,7 +254,7 @@ void KatePluginSnippetsView::readConfig() {
lvi = insertItem(sKey, false);
- lSnippets.append( new CSnippet(sKey, sValue, lvi, TQT_TQOBJECT(this)) );
+ lSnippets.append( new CSnippet(sKey, sValue, lvi, this) );
}
// <defaults>
@@ -262,12 +262,12 @@ void KatePluginSnippetsView::readConfig() {
sKey = "DEBUG variable";
sValue = "## < DEBUG >\nout \"<pre>\\$<mark/> : \\\"$<mark/>\\\"\\n</pre>\"\n## </DEBUG >\n";
lvi = insertItem(sKey, false);
- lSnippets.append( new CSnippet(sKey, sValue, lvi, TQT_TQOBJECT(this)) );
+ lSnippets.append( new CSnippet(sKey, sValue, lvi, this) );
sKey = "proc-header";
sValue = "## [created : <date/>, <time/>]\n## Description:\n## ============\n## The function \"<mark/>\" ...\n##\n##\n##\n##\n## Input:\n## ======\n##\n##\n##\nproc <mark/> {args} {\n\n ## add your code here\n\n return \"\"\n}\n";
lvi = insertItem(sKey, false);
- lSnippets.append( new CSnippet(sKey, sValue, lvi, TQT_TQOBJECT(this)) );
+ lSnippets.append( new CSnippet(sKey, sValue, lvi, this) );
}
// </defaults>