diff options
Diffstat (limited to 'noatun-plugins/luckytag')
-rw-r--r-- | noatun-plugins/luckytag/luckytag.h | 2 | ||||
-rw-r--r-- | noatun-plugins/luckytag/parsedmp3filename.cpp | 14 | ||||
-rw-r--r-- | noatun-plugins/luckytag/parsedmp3filename.h | 24 |
3 files changed, 20 insertions, 20 deletions
diff --git a/noatun-plugins/luckytag/luckytag.h b/noatun-plugins/luckytag/luckytag.h index 964cd8d..6a4c1c1 100644 --- a/noatun-plugins/luckytag/luckytag.h +++ b/noatun-plugins/luckytag/luckytag.h @@ -22,7 +22,7 @@ #include <noatun/plugin.h> #include <noatun/tags.h> -#include <qobject.h> +#include <tqobject.h> class LuckyTagger : public Tags, public Plugin { diff --git a/noatun-plugins/luckytag/parsedmp3filename.cpp b/noatun-plugins/luckytag/parsedmp3filename.cpp index a3006bd..1c75958 100644 --- a/noatun-plugins/luckytag/parsedmp3filename.cpp +++ b/noatun-plugins/luckytag/parsedmp3filename.cpp @@ -19,17 +19,17 @@ #include "parsedmp3filename.h" -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <kurl.h> -ParsedMP3FileName::ParsedMP3FileName(const QString &path) +ParsedMP3FileName::ParsedMP3FileName(const TQString &path) { KURL url = path; - QString fileName = url.fileName(false); - m_directories = QStringList::split("/", url.directory()); + TQString fileName = url.fileName(false); + m_directories = TQStringList::split("/", url.directory()); if (fileName.startsWith("(") && fileName.contains(")")) { @@ -80,9 +80,9 @@ void ParsedMP3FileName::validateArtist() m_album = m_directories.last(); } -QString ParsedMP3FileName::beautifyString(const QString &s) +TQString ParsedMP3FileName::beautifyString(const TQString &s) { - QString temp = s.lower().simplifyWhiteSpace(); + TQString temp = s.lower().simplifyWhiteSpace(); temp[0] = temp[0].upper(); diff --git a/noatun-plugins/luckytag/parsedmp3filename.h b/noatun-plugins/luckytag/parsedmp3filename.h index 5dc2809..7c8b83e 100644 --- a/noatun-plugins/luckytag/parsedmp3filename.h +++ b/noatun-plugins/luckytag/parsedmp3filename.h @@ -20,30 +20,30 @@ #ifndef PARSEDMP3FILENAME_H #define PARSEDMP3FILENAME_H -#include <qstringlist.h> +#include <tqstringlist.h> class ParsedMP3FileName { public: - ParsedMP3FileName(const QString &); + ParsedMP3FileName(const TQString &); ~ParsedMP3FileName() {} - QString title() const { return m_title; } - QString artist() const { return m_artist; } - QString album() const { return m_album; } - QString comment() const { return m_comment; } + TQString title() const { return m_title; } + TQString artist() const { return m_artist; } + TQString album() const { return m_album; } + TQString comment() const { return m_comment; } protected: - QString m_title; - QString m_artist; - QString m_album; - QString m_comment; + TQString m_title; + TQString m_artist; + TQString m_album; + TQString m_comment; private: void validateArtist(); - QString beautifyString(const QString &); + TQString beautifyString(const TQString &); - QStringList m_directories; + TQStringList m_directories; }; #endif |