diff options
author | Michele Calgaro <[email protected]> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /kate/xmlcheck | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'kate/xmlcheck')
-rw-r--r-- | kate/xmlcheck/plugin_katexmlcheck.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/xmlcheck/plugin_katexmlcheck.cpp b/kate/xmlcheck/plugin_katexmlcheck.cpp index 4ab18da..abad13d 100644 --- a/kate/xmlcheck/plugin_katexmlcheck.cpp +++ b/kate/xmlcheck/plugin_katexmlcheck.cpp @@ -100,10 +100,10 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow m_tmp_file=0; m_proc=0; (void) new TDEAction ( i18n("Validate XML"), 0, this, - TQT_SLOT( slotValidate() ), actionCollection(), "xml_check" ); + TQ_SLOT( slotValidate() ), actionCollection(), "xml_check" ); // TODO?: //(void) new TDEAction ( i18n("Indent XML"), 0, this, - // TQT_SLOT( slotIndent() ), actionCollection(), "xml_indent" ); + // TQ_SLOT( slotIndent() ), actionCollection(), "xml_indent" ); setInstance(new TDEInstance("kate")); setXMLFile("plugins/katexmlcheck/ui.rc"); @@ -118,7 +118,7 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow addColumn(i18n("Message"), -1); setAllColumnsShowFocus(true); setResizeMode(TQListView::LastColumn); - connect(this, TQT_SIGNAL(clicked(TQListViewItem *)), TQT_SLOT(slotClicked(TQListViewItem *))); + connect(this, TQ_SIGNAL(clicked(TQListViewItem *)), TQ_SLOT(slotClicked(TQListViewItem *))); /* TODO?: invalidate the listview when document has changed Kate::View *kv = application()->activeMainWindow()->viewManager()->activeView(); @@ -126,17 +126,17 @@ PluginKateXMLCheckView::PluginKateXMLCheckView(TQWidget *parent,Kate::MainWindow kdDebug() << "Warning: no Kate::View" << endl; return; } - connect(kv, TQT_SIGNAL(modifiedChanged()), this, TQT_SLOT(slotUpdate())); + connect(kv, TQ_SIGNAL(modifiedChanged()), this, TQ_SLOT(slotUpdate())); */ m_proc_stderr = ""; m_proc = new TDEProcess(); - connect(m_proc, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcExited(TDEProcess*))); + connect(m_proc, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcExited(TDEProcess*))); // we currently only want errors: - //connect(m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*,char*,int)), - // this, TQT_SLOT(receivedProcStdout(TDEProcess*, char*, int))); - connect(m_proc, TQT_SIGNAL(receivedStderr(TDEProcess*,char*,int)), - this, TQT_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int))); + //connect(m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*,char*,int)), + // this, TQ_SLOT(receivedProcStdout(TDEProcess*, char*, int))); + connect(m_proc, TQ_SIGNAL(receivedStderr(TDEProcess*,char*,int)), + this, TQ_SLOT(slotReceivedProcStderr(TDEProcess*, char*, int))); } |