From c19fc9375edce7ea957af8e336b06a481c4a993f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 20 Dec 2023 21:19:56 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 3f05f93dac700cf12dade9ae450eff6158650d23) --- kate/make/plugin_katemake.cpp | 10 +++++----- kate/snippets/plugin_katesnippets.cpp | 6 +++--- kate/xmlcheck/plugin_katexmlcheck.cpp | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kate') diff --git a/kate/make/plugin_katemake.cpp b/kate/make/plugin_katemake.cpp index 55f4a17..b6c2084 100644 --- a/kate/make/plugin_katemake.cpp +++ b/kate/make/plugin_katemake.cpp @@ -334,19 +334,19 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent, m_proc=0; (void) new TDEAction ( i18n("Next Error"), TDEShortcut(ALT+CTRL+Key_Right), - TQT_TQOBJECT(this), TQT_SLOT( slotNext() ), + this, TQT_SLOT( slotNext() ), actionCollection(), "make_right" ); (void) new TDEAction ( i18n("Previous Error"), TDEShortcut(ALT+CTRL+Key_Left), - TQT_TQOBJECT(this), TQT_SLOT( slotPrev() ), + this, TQT_SLOT( slotPrev() ), actionCollection(), "make_left" ); (void) new TDEAction ( i18n("Make"), TDEShortcut(ALT+Key_R), - TQT_TQOBJECT(this), TQT_SLOT( slotValidate() ), + this, TQT_SLOT( slotValidate() ), actionCollection(), "make_check" ); (void) new TDEAction ( i18n("Configure..."), TDEShortcut(), - TQT_TQOBJECT(this), TQT_SLOT( slotConfigure() ), + this, TQT_SLOT( slotConfigure() ), actionCollection(), "make_settings" ); setInstance(new TDEInstance("kate")); @@ -368,7 +368,7 @@ PluginKateMakeView::PluginKateMakeView(TQWidget *parent, connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcExited(TDEProcess*))); connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), - TQT_TQOBJECT(this), TQT_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int))); + this, TQT_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int))); TDEConfig c("katemakepluginrc"); 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) ); } // @@ -262,12 +262,12 @@ void KatePluginSnippetsView::readConfig() { sKey = "DEBUG variable"; sValue = "## < DEBUG >\nout \"
\\$ : \\\"$\\\"\\n
\"\n## \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 : ,
diff --git a/kate/xmlcheck/plugin_katexmlcheck.cpp b/kate/xmlcheck/plugin_katexmlcheck.cpp index c314075..4ab18da 100644 --- a/kate/xmlcheck/plugin_katexmlcheck.cpp +++ b/kate/xmlcheck/plugin_katexmlcheck.cpp @@ -99,7 +99,7 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow { m_tmp_file=0; m_proc=0; - (void) new TDEAction ( i18n("Validate XML"), 0, TQT_TQOBJECT(this), + (void) new TDEAction ( i18n("Validate XML"), 0, this, TQT_SLOT( slotValidate() ), actionCollection(), "xml_check" ); // TODO?: //(void) new TDEAction ( i18n("Indent XML"), 0, this, -- cgit v1.2.1