summaryrefslogtreecommitdiffstats
path: root/kpackage/procbuf.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kpackage/procbuf.cpp
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz
tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/procbuf.cpp')
-rw-r--r--kpackage/procbuf.cpp28
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);