summaryrefslogtreecommitdiffstats
path: root/kate/snippets/plugin_katesnippets.cpp
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-21 09:06:26 +0900
commitc19fc9375edce7ea957af8e336b06a481c4a993f (patch)
tree72df4cccd3ffe10c9e20cffb0fd76cf914cf157d /kate/snippets/plugin_katesnippets.cpp
parent76b9a4adfceeb8a009e392415541935618c83336 (diff)
downloadtdeaddons-c19fc937.tar.gz
tdeaddons-c19fc937.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3f05f93dac700cf12dade9ae450eff6158650d23)
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>