summaryrefslogtreecommitdiffstats
path: root/parts/filter
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /parts/filter
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/filter')
-rw-r--r--parts/filter/filterpart.cpp4
-rw-r--r--parts/filter/shellfilterdlg.cpp20
-rw-r--r--parts/filter/shellinsertdlg.cpp18
3 files changed, 21 insertions, 21 deletions
diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp
index 3a1351ad..a68f1ec5 100644
--- a/parts/filter/filterpart.cpp
+++ b/parts/filter/filterpart.cpp
@@ -38,13 +38,13 @@ FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
TDEAction *action;
action = new TDEAction( i18n("Execute Command..."), 0,
- this, TQT_SLOT(slotShellInsert()),
+ this, TQ_SLOT(slotShellInsert()),
actionCollection(), "tools_insertshell" );
action->setToolTip(i18n("Execute shell command"));
action->setWhatsThis(i18n("<b>Execute shell command</b><p>Executes a shell command and outputs its result into the current document."));
action = new TDEAction( i18n("Filter Selection Through Command..."), 0,
- this, TQT_SLOT(slotShellFilter()),
+ this, TQ_SLOT(slotShellFilter()),
actionCollection(), "tools_filtershell" );
action->setToolTip(i18n("Filter selection through a shell command"));
action->setWhatsThis(i18n("<b>Filter selection through shell command</b><p>Filters selection through a shell command and outputs its result into the current document."));
diff --git a/parts/filter/shellfilterdlg.cpp b/parts/filter/shellfilterdlg.cpp
index a5100d5b..967f09a4 100644
--- a/parts/filter/shellfilterdlg.cpp
+++ b/parts/filter/shellfilterdlg.cpp
@@ -44,10 +44,10 @@ ShellFilterDialog::ShellFilterDialog()
buttonbox->layout();
layout->addWidget(buttonbox);
- connect( start_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotStartClicked()) );
- connect( cancel_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(reject()) );
+ connect( start_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotStartClicked()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
m_proc = 0;
@@ -81,12 +81,12 @@ void ShellFilterDialog::slotStartClicked()
delete m_proc;
m_proc = new KShellProcess("/bin/sh");
(*m_proc) << combo->currentText();
- connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
- connect( m_proc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess*)) );
- connect( m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
+ connect( m_proc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
m_proc->writeStdin(m_instr, m_instr.length());
}
diff --git a/parts/filter/shellinsertdlg.cpp b/parts/filter/shellinsertdlg.cpp
index 057e8121..a379ec53 100644
--- a/parts/filter/shellinsertdlg.cpp
+++ b/parts/filter/shellinsertdlg.cpp
@@ -45,11 +45,11 @@ ShellInsertDialog::ShellInsertDialog()
buttonbox->layout();
layout->addWidget(buttonbox);
- connect( start_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotStartClicked()) );
- connect( cancel_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(reject()) );
- connect( combo->lineEdit(), TQT_SIGNAL(textChanged( const TQString &)), this, TQT_SLOT(executeTextChanged( const TQString &)));
+ connect( start_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotStartClicked()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
+ connect( combo->lineEdit(), TQ_SIGNAL(textChanged( const TQString &)), this, TQ_SLOT(executeTextChanged( const TQString &)));
m_proc = 0;
TDEConfig *config = FilterFactory::instance()->config();
@@ -97,10 +97,10 @@ void ShellInsertDialog::slotStartClicked()
delete m_proc;
m_proc = new KShellProcess("/bin/sh");
(*m_proc) << combo->currentText();
- connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
- connect( m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
+ connect( m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput);
}