summaryrefslogtreecommitdiffstats
path: root/kfloppy/zip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfloppy/zip.cpp')
-rw-r--r--kfloppy/zip.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kfloppy/zip.cpp b/kfloppy/zip.cpp
index e774a8f..672eb06 100644
--- a/kfloppy/zip.cpp
+++ b/kfloppy/zip.cpp
@@ -34,7 +34,7 @@
#include "zip.moc"
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqtimer.h>
#include <tqwhatsthis.h>
@@ -188,7 +188,7 @@ void ZipFormat::transition()
<< "if=/dev/zero"
<< "of=/dev/afd0c"
<< "bs=8192" ;
- *p << TQString("count=%1").tqarg(totalBlocks);
+ *p << TQString("count=%1").arg(totalBlocks);
if (!p->start(KProcess::NotifyOnExit,KProcess::AllOutput))
{
emit statusMessage(i18n("Cannot start dd to zero disk."));
@@ -250,8 +250,8 @@ void ZipFormat::processResult(KProcess *, char *b, int l)
DEBUGSETUP;
#ifdef DEBUG
- TQString o = TQString::tqfromLatin1(b,l);
- DEBUGS(TQString(" %1").tqarg(o).latin1());
+ TQString o = TQString::fromLatin1(b,l);
+ DEBUGS(TQString(" %1").arg(o).latin1());
#endif
switch(formatStep)
@@ -264,8 +264,8 @@ void ZipFormat::processResult(KProcess *, char *b, int l)
if (totalBlocks>10000)
{
emit statusMessage(i18n("Zeroing block %1 of %2...")
- .tqarg(currentblock)
- .tqarg(totalBlocks));
+ .arg(currentblock)
+ .arg(totalBlocks));
}
}
break;
@@ -283,7 +283,7 @@ void ZipFormat::processResult(KProcess *, char *b, int l)
//
emit setProgress(1);
- // TQString myBuf = TQString::tqfromLatin1(b, l);
+ // TQString myBuf = TQString::fromLatin1(b, l);
// DEBUGS(myBuf.latin1());
}
break;