diff options
Diffstat (limited to 'kdbg/procattach.cpp')
-rw-r--r-- | kdbg/procattach.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdbg/procattach.cpp b/kdbg/procattach.cpp index b3bf77f..5b082d1 100644 --- a/kdbg/procattach.cpp +++ b/kdbg/procattach.cpp @@ -10,9 +10,9 @@ #include <ntqlineedit.h> #include <kprocess.h> #include <ctype.h> -#include <kapplication.h> +#include <tdeapplication.h> #include <kiconloader.h> -#include <klocale.h> /* i18n */ +#include <tdelocale.h> /* i18n */ #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -23,10 +23,10 @@ ProcAttachPS::ProcAttachPS(TQWidget* parent) : m_pidCol(-1), m_ppidCol(-1) { - m_ps = new KProcess; - connect(m_ps, SIGNAL(receivedStdout(KProcess*, char*, int)), - this, SLOT(slotTextReceived(KProcess*, char*, int))); - connect(m_ps, SIGNAL(processExited(KProcess*)), + m_ps = new TDEProcess; + connect(m_ps, SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, SLOT(slotTextReceived(TDEProcess*, char*, int))); + connect(m_ps, SIGNAL(processExited(TDEProcess*)), this, SLOT(slotPSDone())); TQIconSet icon = SmallIconSet("clear_left"); @@ -66,10 +66,10 @@ void ProcAttachPS::runPS() m_pidCol = -1; m_ppidCol = -1; - m_ps->start(KProcess::NotifyOnExit, KProcess::Stdout); + m_ps->start(TDEProcess::NotifyOnExit, TDEProcess::Stdout); } -void ProcAttachPS::slotTextReceived(KProcess*, char* buffer, int buflen) +void ProcAttachPS::slotTextReceived(TDEProcess*, char* buffer, int buflen) { const char* end = buffer+buflen; while (buffer < end) |