summaryrefslogtreecommitdiffstats
path: root/src/dolphin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:35:26 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:35:26 -0600
commitb651b3b01b24418d0e6387870d9758a61d7bd9ff (patch)
tree0e1080d49470e1c5a3640569e551b7afb30b2827 /src/dolphin.cpp
parent33ca3afe641f5cb46cda167f2c6700747ee0c06f (diff)
downloaddolphin-b651b3b01b24418d0e6387870d9758a61d7bd9ff.tar.gz
dolphin-b651b3b01b24418d0e6387870d9758a61d7bd9ff.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/dolphin.cpp')
-rw-r--r--src/dolphin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dolphin.cpp b/src/dolphin.cpp
index 2006089..2f80aac 100644
--- a/src/dolphin.cpp
+++ b/src/dolphin.cpp
@@ -395,7 +395,7 @@ void Dolphin::createFolder()
// TODO: provide message type hint
if (ok) {
- statusBar->setMessage(i18n("Created folder %1.").tqarg(url.path()),
+ statusBar->setMessage(i18n("Created folder %1.").arg(url.path()),
DolphinStatusBar::OperationCompleted);
DolphinCommand command(DolphinCommand::CreateFolder, KURL::List(), url);
@@ -405,11 +405,11 @@ void Dolphin::createFolder()
// Creating of the folder has been failed. Check whether the creating
// has been failed because a folder with the same name exists...
if (KIO::NetAccess::exists(url, true, this)) {
- statusBar->setMessage(i18n("A folder named %1 already exists.").tqarg(url.path()),
+ statusBar->setMessage(i18n("A folder named %1 already exists.").arg(url.path()),
DolphinStatusBar::Error);
}
else {
- statusBar->setMessage(i18n("Creating of folder %1 failed.").tqarg(url.path()),
+ statusBar->setMessage(i18n("Creating of folder %1 failed.").arg(url.path()),
DolphinStatusBar::Error);
}
@@ -490,7 +490,7 @@ void Dolphin::createFile()
const TQString destPath(viewURL.prettyURL() + "/" + KIO::encodeFileName(name));
const KURL destURL(destPath);
if (KIO::NetAccess::exists(destURL, false, this)) {
- statusBar->setMessage(i18n("A file named %1 already exists.").tqarg(name),
+ statusBar->setMessage(i18n("A file named %1 already exists.").arg(name),
DolphinStatusBar::Error);
return;
}
@@ -500,7 +500,7 @@ void Dolphin::createFile()
KIO::CopyJob* job = KIO::copyAs(sourceURL, destURL);
job->setDefaultPermissions(true);
if (KIO::NetAccess::synchronousRun(job, this)) {
- statusBar->setMessage(i18n("Created file %1.").tqarg(name),
+ statusBar->setMessage(i18n("Created file %1.").arg(name),
DolphinStatusBar::OperationCompleted);
KURL::List list;
@@ -510,7 +510,7 @@ void Dolphin::createFile()
}
else {
- statusBar->setMessage(i18n("Creating of file %1 failed.").tqarg(name),
+ statusBar->setMessage(i18n("Creating of file %1 failed.").arg(name),
DolphinStatusBar::Error);
}
}
@@ -539,11 +539,11 @@ void Dolphin::deleteItems()
TQString text;
if (itemCount > 1) {
- text = i18n("Do you really want to delete the %1 selected items?").tqarg(itemCount);
+ text = i18n("Do you really want to delete the %1 selected items?").arg(itemCount);
}
else {
const KURL& url = list.first();
- text = i18n("Do you really want to delete '%1'?").tqarg(url.fileName());
+ text = i18n("Do you really want to delete '%1'?").arg(url.fileName());
}
const bool del = KMessageBox::warningContinueCancel(this,
@@ -715,7 +715,7 @@ void Dolphin::updatePasteAction()
pasteAction->setText(i18n("Paste 1 File"));
}
else {
- pasteAction->setText(i18n("Paste %1 Files").tqarg(count));
+ pasteAction->setText(i18n("Paste %1 Files").arg(count));
}
}
else {