diff options
Diffstat (limited to 'kpackage/procbuf.cpp')
-rw-r--r-- | kpackage/procbuf.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpackage/procbuf.cpp b/kpackage/procbuf.cpp index c994d70..568e651 100644 --- a/kpackage/procbuf.cpp +++ b/kpackage/procbuf.cpp @@ -29,13 +29,13 @@ #include <kprocess.h> #include "kpackage.h" #include <klocale.h> -#include <qlabel.h> +#include <tqlabel.h> #include <kdebug.h> -Modal::Modal(QString msg, QWidget *parent, const char * name ) +Modal::Modal(TQString msg, TQWidget *parent, const char * name ) : KDialog( parent, name, TRUE ) { - QLabel *line1 = new QLabel(msg,this); + TQLabel *line1 = new TQLabel(msg,this); line1->setAlignment(AlignCenter); line1->setAutoResize(true); @@ -49,24 +49,24 @@ void Modal::terminate() procbuf::procbuf() { m = NULL; - tm = new QTimer(this); - connect(tm, SIGNAL(timeout()), this, SLOT(slotTimeout())); + tm = new TQTimer(this); + connect(tm, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout())); } procbuf::~procbuf() { } -void procbuf::setup(QString cmd) +void procbuf::setup(TQString cmd) { buf.truncate(0); proc = new KProcess(); - connect(proc, SIGNAL( receivedStdout(KProcess *, char *, int)), - this, SLOT(slotReadInfo(KProcess *, char *, int))); - connect(proc, SIGNAL( receivedStderr(KProcess *, char *, int)), - this, SLOT(slotReadInfo(KProcess *, char *, int))); - connect(proc, SIGNAL( processExited(KProcess *)), - this, SLOT(slotExited(KProcess *))); + connect(proc, TQT_SIGNAL( receivedStdout(KProcess *, char *, int)), + this, TQT_SLOT(slotReadInfo(KProcess *, char *, int))); + connect(proc, TQT_SIGNAL( receivedStderr(KProcess *, char *, int)), + this, TQT_SLOT(slotReadInfo(KProcess *, char *, int))); + connect(proc, TQT_SIGNAL( processExited(KProcess *)), + this, TQT_SLOT(slotExited(KProcess *))); proc->clearArguments(); *proc << cmd; command = cmd; @@ -107,8 +107,8 @@ void procbuf::slotTimeout() // kdDebug() << "TTT\n"; } -int procbuf::start (QString msg, bool errorDlg, - int timeout, QString timeMsg ) +int procbuf::start (TQString msg, bool errorDlg, + int timeout, TQString timeMsg ) { if (timeout) { tm->start(timeout*1000, TRUE); |