diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:29:20 -0600 |
commit | 882bcd26b3d60be72ea2b35921969a9850c52db9 (patch) | |
tree | 8d0a6902c5de4632c4e73e35c4d86404fa75f470 /src/formatimporter.cpp | |
parent | c82058b2b64334c10d7e547cb81ac64efe09f516 (diff) | |
download | basket-882bcd26b3d60be72ea2b35921969a9850c52db9.tar.gz basket-882bcd26b3d60be72ea2b35921969a9850c52db9.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/formatimporter.cpp')
-rw-r--r-- | src/formatimporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formatimporter.cpp b/src/formatimporter.cpp index f28df81..a0a24ad 100644 --- a/src/formatimporter.cpp +++ b/src/formatimporter.cpp @@ -131,7 +131,7 @@ void FormatImporter::importBaskets() if (folderName.startsWith("/")) { // It was a folder mirror: KMessageBox::information(0, i18n("<p>Folder mirroring is not possible anymore (see <a href='http://basket.kde.org/'>basket.kde.org</a> for more information).</p>" "<p>The folder <b>%1</b> has been copied for the basket needs. You can either delete this folder or delete the basket, or use both. But remember that " - "modifying one will not modify the other anymore as they are now separate entities.</p>").tqarg(folderName), i18n("Folder Mirror Import"), + "modifying one will not modify the other anymore as they are now separate entities.</p>").arg(folderName), i18n("Folder Mirror Import"), "", KMessageBox::AllowLink); // Also modify folderName to be only the folder name and not the full path anymore: TQString newFolderName = folderName; @@ -259,7 +259,7 @@ TQDomElement FormatImporter::importBasket(const TQString &folderName) "Name=%2\n" "Icon=%3\n" "Encoding=UTF-8\n" - "Type=Application\n").tqarg(runCommand, title, icon.isEmpty() ? TQString("exec") : icon); + "Type=Application\n").arg(runCommand, title, icon.isEmpty() ? TQString("exec") : icon); TQString launcherFileName = Tools::fileNameForNewFile("launcher.desktop", Global::basketsFolder() + folderName /*+ "/"*/); TQString launcherFullPath = Global::basketsFolder() + folderName /*+ "/"*/ + launcherFileName; TQFile file(launcherFullPath); |