summaryrefslogtreecommitdiffstats
path: root/kdf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:52 -0600
commit7ea89afa119615e547323a7a482ea7fef8e67029 (patch)
tree7b28540e70b4be9a779347f70486d4937258a875 /kdf
parentbcc684e28ad6f9ebeeae5d334a4dc297cef3e816 (diff)
downloadtdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.tar.gz
tdeutils-7ea89afa119615e547323a7a482ea7fef8e67029.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'kdf')
-rw-r--r--kdf/disks.cpp4
-rw-r--r--kdf/kdfwidget.cpp2
-rw-r--r--kdf/kwikdisk.cpp8
-rw-r--r--kdf/mntconfig.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/kdf/disks.cpp b/kdf/disks.cpp
index 1520b18..c4af664 100644
--- a/kdf/disks.cpp
+++ b/kdf/disks.cpp
@@ -226,11 +226,11 @@ int DiskEntry::sysCall(const TQString & command)
{
if (readingSysStdErrOut || sysProc->isRunning() ) return -1;
- sysStringErrOut=i18n("Called: %1\n\n").tqarg(command); // put the called command on ErrOut
+ sysStringErrOut=i18n("Called: %1\n\n").arg(command); // put the called command on ErrOut
sysProc->clearArguments();
(*sysProc) << command;
if (!sysProc->start( KProcess::Block, KProcess::AllOutput ))
- kdFatal() << i18n("could not execute %1").tqarg(command.local8Bit().data()) << endl;
+ kdFatal() << i18n("could not execute %1").arg(command.local8Bit().data()) << endl;
if (sysProc->exitStatus()!=0) emit sysCallError(this, sysProc->exitStatus());
diff --git a/kdf/kdfwidget.cpp b/kdf/kdfwidget.cpp
index 8fbb97c..3c36b9d 100644
--- a/kdf/kdfwidget.cpp
+++ b/kdf/kdfwidget.cpp
@@ -377,7 +377,7 @@ void KDFWidget::criticallyFull( DiskEntry *disk )
if( mStd.popupIfFull() == true )
{
TQString msg = i18n("Device [%1] on [%2] is getting critically full!").
- tqarg(disk->deviceName()).tqarg(disk->mountPoint());
+ arg(disk->deviceName()).arg(disk->mountPoint());
KMessageBox::sorry( this, msg, i18n("Warning"));
}
}
diff --git a/kdf/kwikdisk.cpp b/kdf/kwikdisk.cpp
index 8960e2f..b8963e3 100644
--- a/kdf/kwikdisk.cpp
+++ b/kdf/kwikdisk.cpp
@@ -176,13 +176,13 @@ void KwikDisk::updateDFDone()
{
// FIXME: tool tips are unused atm
TQString toolTipText = i18n("%1 (%2) %3 on %4")
- .tqarg( disk->mounted() ? i18n("Unmount") : i18n("Mount"))
- .tqarg(disk->fsType()).tqarg(disk->deviceName()).tqarg(disk->mountPoint());
+ .arg( disk->mounted() ? i18n("Unmount") : i18n("Mount"))
+ .arg(disk->fsType()).arg(disk->deviceName()).arg(disk->mountPoint());
TQString entryName = disk->mountPoint();
if( disk->mounted() )
{
- entryName += TQString("\t\t\t[%1]").tqarg(disk->prettyKBAvail());
+ entryName += TQString("\t\t\t[%1]").arg(disk->prettyKBAvail());
}
int id = contextMenu()->insertItem("", this, TQT_SLOT(toggleMount(int)) );
contextMenu()->setItemParameter(id, itemNo);
@@ -286,7 +286,7 @@ void KwikDisk::criticallyFull(DiskEntry *disk)
if( m_options.popupIfFull() == true )
{
TQString msg = i18n("Device [%1] on [%2] is getting critically full!")
- .tqarg(disk->deviceName()).tqarg(disk->mountPoint());
+ .arg(disk->deviceName()).arg(disk->mountPoint());
KMessageBox::sorry( this, msg, i18n("Warning"));
}
}
diff --git a/kdf/mntconfig.cpp b/kdf/mntconfig.cpp
index 0eb86ba..a2634ca 100644
--- a/kdf/mntconfig.cpp
+++ b/kdf/mntconfig.cpp
@@ -258,7 +258,7 @@ void MntConfigWidget::iconChanged(const TQString &iconName)
TQString msg = i18n(""
"This filename is not valid: %1\n"
"It must end with "
- "\"_mount\" or \"_unmount\".").tqarg(iconName);
+ "\"_mount\" or \"_unmount\".").arg(iconName);
KMessageBox::sorry( this, msg );
return;
}