summaryrefslogtreecommitdiffstats
path: root/src/gvcore/externaltoolmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/externaltoolmanager.cpp')
-rw-r--r--src/gvcore/externaltoolmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gvcore/externaltoolmanager.cpp b/src/gvcore/externaltoolmanager.cpp
index 4fd4e03..3a43d26 100644
--- a/src/gvcore/externaltoolmanager.cpp
+++ b/src/gvcore/externaltoolmanager.cpp
@@ -222,7 +222,7 @@ TQDict<KDesktopFile>& ExternalToolManager::desktopFiles() const {
void ExternalToolManager::hideDesktopFile(KDesktopFile* desktopFile) {
TQFileInfo fi(desktopFile->fileName());
- TQString name=TQString("%1.desktop").tqarg( fi.baseName(true) );
+ TQString name=TQString("%1.desktop").arg( fi.baseName(true) );
d->mDesktopFiles.take(name);
if (desktopFile->isReadOnly()) {
@@ -240,7 +240,7 @@ KDesktopFile* ExternalToolManager::editSystemDesktopFile(const KDesktopFile* des
TQFileInfo fi(desktopFile->fileName());
TQString name=fi.baseName(true);
- d->mDesktopFiles.remove(TQString("%1.desktop").tqarg(name));
+ d->mDesktopFiles.remove(TQString("%1.desktop").arg(name));
return createUserDesktopFile(name);
}
@@ -250,7 +250,7 @@ KDesktopFile* ExternalToolManager::createUserDesktopFile(const TQString& name) {
Q_ASSERT(!name.isEmpty());
KDesktopFile* desktopFile=new KDesktopFile(
d->mUserToolDir + "/" + name + ".desktop", false);
- d->mDesktopFiles.insert(TQString("%1.desktop").tqarg(name), desktopFile);
+ d->mDesktopFiles.insert(TQString("%1.desktop").arg(name), desktopFile);
return desktopFile;
}