diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:57:28 -0600 |
commit | dc07846059a60d069687585cc72ff501a2096296 (patch) | |
tree | 432ead5b09c6ace7e804629f1f74a3ed58f003e0 /juk/covermanager.cpp | |
parent | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (diff) | |
download | tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.tar.gz tdemultimedia-dc07846059a60d069687585cc72ff501a2096296.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'juk/covermanager.cpp')
-rw-r--r-- | juk/covermanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/juk/covermanager.cpp b/juk/covermanager.cpp index 5ee5bbf0..59c488d2 100644 --- a/juk/covermanager.cpp +++ b/juk/covermanager.cpp @@ -395,7 +395,7 @@ coverKey CoverManager::addCover(const TQPixmap &large, const TQString &artist, c // Save it to file first! - TQString ext = TQString("/coverdb/coverID-%1.png").tqarg(id); + TQString ext = TQString("/coverdb/coverID-%1.png").arg(id); coverData->path = KGlobal::dirs()->saveLocation("appdata") + ext; kdDebug() << "Saving pixmap to " << coverData->path << endl; @@ -413,8 +413,8 @@ coverKey CoverManager::addCover(const TQPixmap &large, const TQString &artist, c data()->covers[id] = coverData; // Make sure the new cover isn't inadvertently cached. - data()->pixmapCache.remove(TQString("f%1").tqarg(coverData->path)); - data()->pixmapCache.remove(TQString("t%1").tqarg(coverData->path)); + data()->pixmapCache.remove(TQString("f%1").arg(coverData->path)); + data()->pixmapCache.remove(TQString("t%1").arg(coverData->path)); return id; } @@ -436,8 +436,8 @@ bool CoverManager::removeCover(coverKey id) // Remove cover from cache. CoverDataPtr coverData = coverInfo(id); - data()->pixmapCache.remove(TQString("f%1").tqarg(coverData->path)); - data()->pixmapCache.remove(TQString("t%1").tqarg(coverData->path)); + data()->pixmapCache.remove(TQString("f%1").arg(coverData->path)); + data()->pixmapCache.remove(TQString("t%1").arg(coverData->path)); // Remove references to files that had that track ID. TQDictIterator<coverKey> it(data()->tracks); @@ -462,8 +462,8 @@ bool CoverManager::replaceCover(coverKey id, const TQPixmap &large) CoverDataPtr coverData = coverInfo(id); // Empty old pixmaps from cache. - data()->pixmapCache.remove(TQString("%1%2").tqarg("t", coverData->path)); - data()->pixmapCache.remove(TQString("%1%2").tqarg("f", coverData->path)); + data()->pixmapCache.remove(TQString("%1%2").arg("t", coverData->path)); + data()->pixmapCache.remove(TQString("%1%2").arg("f", coverData->path)); large.save(coverData->path, "PNG"); return true; |