diff options
Diffstat (limited to 'juk/categoryreaderinterface.cpp')
-rw-r--r-- | juk/categoryreaderinterface.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/juk/categoryreaderinterface.cpp b/juk/categoryreaderinterface.cpp index f9f73103..3844fc21 100644 --- a/juk/categoryreaderinterface.cpp +++ b/juk/categoryreaderinterface.cpp @@ -13,14 +13,14 @@ * * ***************************************************************************/ -#include <qstring.h> +#include <tqstring.h> #include "filerenameroptions.h" #include "categoryreaderinterface.h" -QString CategoryReaderInterface::value(const CategoryID &category) const +TQString CategoryReaderInterface::value(const CategoryID &category) const { - QString value = categoryValue(category.category).stripWhiteSpace(); + TQString value = categoryValue(category.category).stripWhiteSpace(); if(category.category == Track) value = fixupTrack(value, category.categoryNumber).stripWhiteSpace(); @@ -41,22 +41,22 @@ bool CategoryReaderInterface::isEmpty(TagType category) const return categoryValue(category).isEmpty(); } -QString CategoryReaderInterface::fixupTrack(const QString &track, unsigned categoryNum) const +TQString CategoryReaderInterface::fixupTrack(const TQString &track, unsigned categoryNum) const { - QString str(track); + TQString str(track); CategoryID trackId(Track, categoryNum); if(track == "0") { if(emptyAction(trackId) == TagRenamerOptions::UseReplacementValue) str = emptyText(trackId); else - return QString::null; + return TQString::null; } unsigned minimumWidth = trackWidth(categoryNum); if(str.length() < minimumWidth) { - QString prefix; + TQString prefix; prefix.fill('0', minimumWidth - str.length()); return prefix + str; } |