diff options
Diffstat (limited to 'quanta/utility/tagaction.cpp')
-rw-r--r-- | quanta/utility/tagaction.cpp | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/quanta/utility/tagaction.cpp b/quanta/utility/tagaction.cpp index 57830da9..ae27c526 100644 --- a/quanta/utility/tagaction.cpp +++ b/quanta/utility/tagaction.cpp @@ -62,14 +62,14 @@ #include "viewmanager.h" -MyProcess::MyProcess():KProcess() +MyProcess::MyProcess():TDEProcess() { } int MyProcess::commSetupDoneC() { ::setpgid(pid_, 0); - return KProcess::commSetupDoneC(); + return TDEProcess::commSetupDoneC(); } TagAction::TagAction( TQDomElement *element, KMainWindow *parentMainWindow, bool toggle) @@ -434,12 +434,12 @@ bool TagAction::slotActionActivated(KAction::ActivationReason reason, TQt::Butto firstOutput = true; firstError = true; - connect( proc, TQT_SIGNAL(receivedStdout( KProcess*,char*,int)), this, - TQT_SLOT( slotGetScriptOutput(KProcess*,char*,int))); - connect( proc, TQT_SIGNAL(receivedStderr( KProcess*,char*,int)), this, - TQT_SLOT( slotGetScriptError(KProcess*,char*,int))); - connect( proc, TQT_SIGNAL(processExited( KProcess*)), this, - TQT_SLOT( slotProcessExited(KProcess*))); + connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this, + TQT_SLOT( slotGetScriptOutput(TDEProcess*,char*,int))); + connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this, + TQT_SLOT( slotGetScriptError(TDEProcess*,char*,int))); + connect( proc, TQT_SIGNAL(processExited( TDEProcess*)), this, + TQT_SLOT( slotProcessExited(TDEProcess*))); @@ -458,7 +458,7 @@ bool TagAction::slotActionActivated(KAction::ActivationReason reason, TQt::Butto *proc << m_inputFileName; } - if (proc->start(KProcess::NotifyOnExit, KProcess::All)) + if (proc->start(TDEProcess::NotifyOnExit, TDEProcess::All)) { emit clearMessages(); emit showMessage(i18n("The \"%1\" script started.\n").arg(actionText()), false); @@ -688,12 +688,12 @@ bool TagAction::slotActionActivated() firstOutput = true; firstError = true; - connect( proc, TQT_SIGNAL(receivedStdout( KProcess*,char*,int)), this, - TQT_SLOT( slotGetScriptOutput(KProcess*,char*,int))); - connect( proc, TQT_SIGNAL(receivedStderr( KProcess*,char*,int)), this, - TQT_SLOT( slotGetScriptError(KProcess*,char*,int))); - connect( proc, TQT_SIGNAL(processExited( KProcess*)), this, - TQT_SLOT( slotProcessExited(KProcess*))); + connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this, + TQT_SLOT( slotGetScriptOutput(TDEProcess*,char*,int))); + connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this, + TQT_SLOT( slotGetScriptError(TDEProcess*,char*,int))); + connect( proc, TQT_SIGNAL(processExited( TDEProcess*)), this, + TQT_SLOT( slotProcessExited(TDEProcess*))); @@ -712,7 +712,7 @@ bool TagAction::slotActionActivated() *proc << m_inputFileName; } - if (proc->start(KProcess::NotifyOnExit, KProcess::All)) + if (proc->start(TDEProcess::NotifyOnExit, TDEProcess::All)) { emit clearMessages(); emit showMessage(i18n("The \"%1\" script started.\n").arg(actionText()), false); @@ -740,7 +740,7 @@ bool TagAction::slotActionActivated() return true; } -void TagAction::slotGetScriptOutput( KProcess *, char *buffer, int buflen ) +void TagAction::slotGetScriptOutput( TDEProcess *, char *buffer, int buflen ) { TQCString tmp( buffer, buflen + 1 ); TQString text( TQString::fromLocal8Bit(tmp) ); @@ -801,7 +801,7 @@ void TagAction::slotGetScriptOutput( KProcess *, char *buffer, int buflen ) firstOutput = false; } -void TagAction::slotGetScriptError( KProcess *, char *buffer, int buflen ) +void TagAction::slotGetScriptError( TDEProcess *, char *buffer, int buflen ) { Document *w = ViewManager::ref()->activeDocument(); TQCString tmp( buffer, buflen + 1 ); @@ -963,7 +963,7 @@ void TagAction::slotActivated() */ } -void TagAction::slotProcessExited(KProcess *process) +void TagAction::slotProcessExited(TDEProcess *process) { if (loopStarted) { |