summaryrefslogtreecommitdiffstats
path: root/kate/snippets
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:19:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-20 21:24:56 +0900
commit3f05f93dac700cf12dade9ae450eff6158650d23 (patch)
tree0c153c6919c98967aeab38ab376b18635a01e1b3 /kate/snippets
parent462e806771b84412c051d43bad117c3dde7ce5e5 (diff)
downloadtdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.tar.gz
tdeaddons-3f05f93dac700cf12dade9ae450eff6158650d23.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/snippets')
-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>