summaryrefslogtreecommitdiffstats
path: root/kpackage/procbuf.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kpackage/procbuf.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpackage/procbuf.cpp')
-rw-r--r--kpackage/procbuf.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpackage/procbuf.cpp b/kpackage/procbuf.cpp
index 568e651..da3bc98 100644
--- a/kpackage/procbuf.cpp
+++ b/kpackage/procbuf.cpp
@@ -32,11 +32,11 @@
#include <tqlabel.h>
#include <kdebug.h>
-Modal::Modal(TQString msg, TQWidget *parent, const char * name )
- : KDialog( parent, name, TRUE )
+Modal::Modal(TQString msg, TQWidget *tqparent, const char * name )
+ : KDialog( tqparent, name, TRUE )
{
TQLabel *line1 = new TQLabel(msg,this);
- line1->setAlignment(AlignCenter);
+ line1->tqsetAlignment(AlignCenter);
line1->setAutoResize(true);
}
@@ -136,13 +136,13 @@ int procbuf::start (TQString msg, bool errorDlg,
<< " exit=" << proc->exitStatus() << endl;
if (timed) {
kdDebug() << "timeout..................\n";
- KpMsg("Error",i18n("Timeout: %1").arg(timeMsg), TRUE);
+ KpMsg("Error",i18n("Timeout: %1").tqarg(timeMsg), TRUE);
delete proc; proc = 0;
return 0;
} else {
if (!proc->normalExit() || proc->exitStatus()) {
if (errorDlg) {
- KpMsg("Error",i18n("Kprocess error:%1").arg(buf), TRUE);
+ KpMsg("Error",i18n("Kprocess error:%1").tqarg(buf), TRUE);
}
delete proc; proc = 0;
return 0;