summaryrefslogtreecommitdiffstats
path: root/kpackage/procbuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpackage/procbuf.cpp')
-rw-r--r--kpackage/procbuf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpackage/procbuf.cpp b/kpackage/procbuf.cpp
index 9017c8a..568e651 100644
--- a/kpackage/procbuf.cpp
+++ b/kpackage/procbuf.cpp
@@ -36,7 +36,7 @@ Modal::Modal(TQString msg, TQWidget *parent, const char * name )
: KDialog( parent, name, TRUE )
{
TQLabel *line1 = new TQLabel(msg,this);
- line1->tqsetAlignment(AlignCenter);
+ line1->setAlignment(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").tqarg(timeMsg), TRUE);
+ KpMsg("Error",i18n("Timeout: %1").arg(timeMsg), TRUE);
delete proc; proc = 0;
return 0;
} else {
if (!proc->normalExit() || proc->exitStatus()) {
if (errorDlg) {
- KpMsg("Error",i18n("Kprocess error:%1").tqarg(buf), TRUE);
+ KpMsg("Error",i18n("Kprocess error:%1").arg(buf), TRUE);
}
delete proc; proc = 0;
return 0;