summaryrefslogtreecommitdiffstats
path: root/parts/filter
diff options
context:
space:
mode:
Diffstat (limited to 'parts/filter')
-rw-r--r--parts/filter/filterpart.cpp10
-rw-r--r--parts/filter/filterpart.h2
-rw-r--r--parts/filter/kdevfilterIface.h2
-rw-r--r--parts/filter/shellfilterdlg.cpp20
-rw-r--r--parts/filter/shellfilterdlg.h2
-rw-r--r--parts/filter/shellinsertdlg.cpp18
-rw-r--r--parts/filter/shellinsertdlg.h2
7 files changed, 28 insertions, 28 deletions
diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp
index 5ebd265e..a68f1ec5 100644
--- a/parts/filter/filterpart.cpp
+++ b/parts/filter/filterpart.cpp
@@ -26,11 +26,11 @@
#include "shellinsertdlg.h"
#include "kdevfilterIface.h"
-static const KDevPluginInfo data("kdevfilter");
-K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( data ) )
+static const KDevPluginInfo pluginData("kdevfilter");
+K_EXPORT_COMPONENT_FACTORY( libkdevfilter, FilterFactory( pluginData ) )
FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
- : KDevPlugin(&data, parent, name ? name : "FilterPart")
+ : KDevPlugin(&pluginData, parent, name ? name : "FilterPart")
{
setInstance(FilterFactory::instance());
setXMLFile("kdevfilter.rc");
@@ -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/filterpart.h b/parts/filter/filterpart.h
index b8322425..44a78e3c 100644
--- a/parts/filter/filterpart.h
+++ b/parts/filter/filterpart.h
@@ -21,7 +21,7 @@ class ShellFilterDialog;
class FilterPart : public KDevPlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/parts/filter/kdevfilterIface.h b/parts/filter/kdevfilterIface.h
index fae74022..58d75eb1 100644
--- a/parts/filter/kdevfilterIface.h
+++ b/parts/filter/kdevfilterIface.h
@@ -9,7 +9,7 @@ class FilterPart;
class KDevFilterIface : public TQObject, public DCOPObject
{
- Q_OBJECT
+ TQ_OBJECT
//
K_DCOP
public:
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/shellfilterdlg.h b/parts/filter/shellfilterdlg.h
index 87657501..f82f474b 100644
--- a/parts/filter/shellfilterdlg.h
+++ b/parts/filter/shellfilterdlg.h
@@ -22,7 +22,7 @@ class TDEProcess;
class ShellFilterDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
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);
}
diff --git a/parts/filter/shellinsertdlg.h b/parts/filter/shellinsertdlg.h
index fda59678..8c40ddbc 100644
--- a/parts/filter/shellinsertdlg.h
+++ b/parts/filter/shellinsertdlg.h
@@ -22,7 +22,7 @@ class TDEProcess;
class ShellInsertDialog : public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public: