diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:29:45 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:29:45 -0600 |
commit | 2b7143e0539396c75306f6e78bf0a5641ed1acfc (patch) | |
tree | db4ea3490b6703f775f11931c6e7c22f943816bd /src/gvcore/externaltoolmanager.cpp | |
parent | ff1cff2a1e9b7860d4d3779cf20bf79afbe52470 (diff) | |
download | gwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.tar.gz gwenview-2b7143e0539396c75306f6e78bf0a5641ed1acfc.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/gvcore/externaltoolmanager.cpp')
-rw-r--r-- | src/gvcore/externaltoolmanager.cpp | 6 |
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; } |