diff options
Diffstat (limited to 'juk/tagguessertest.cpp')
-rw-r--r-- | juk/tagguessertest.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/juk/tagguessertest.cpp b/juk/tagguessertest.cpp index f726e01b..b94f9639 100644 --- a/juk/tagguessertest.cpp +++ b/juk/tagguessertest.cpp @@ -25,7 +25,7 @@ #include <kaboutdata.h> #include <kcmdlineargs.h> #include <kapplication.h> -#include <qdir.h> +#include <tqdir.h> #include <iostream> #include <stdlib.h> @@ -33,9 +33,9 @@ using std::cout; using std::endl; -void check( const QString &filename, const QString &title, - const QString &artist, const QString &track, - const QString &comment, const QString &album = QString::null ) +void check( const TQString &filename, const TQString &title, + const TQString &artist, const TQString &track, + const TQString &comment, const TQString &album = TQString::null ) { cout << "Checking " << filename.latin1() << "..."; TagGuesser guesser( filename ); @@ -72,57 +72,57 @@ int main( int argc, char **argv ) check( "/home/frerich/Chemical Brothers - (01) - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/Chemical Brothers - (01) - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats [Live].mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/Chemical Brothers - [01] - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats [Live].mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/Chemical Brothers - 01 - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats [Live].mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/(01) Chemical Brothers - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats [Live].mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/[01] Chemical Brothers - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/01 Chemical Brothers - Block rockin' beats [Live].mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/01 Chemical Brothers - Block rockin' beats (Live).mp3", "Block Rockin' Beats", "Chemical Brothers", "01", "Live" ); check( "/home/frerich/01 Chemical Brothers - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null ); check( "/home/frerich/(Chemical Brothers) Block rockin' beats [Live].mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, "Live" ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" ); check( "/home/frerich/(Chemical Brothers) Block rockin' beats (Live).mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, "Live" ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" ); check( "/home/frerich/(Chemical Brothers) Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, QString::null ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null ); check( "/home/frerich/Chemical Brothers - Block rockin' beats [Live].mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, "Live" ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" ); check( "/home/frerich/Chemical Brothers - Block rockin' beats (Live).mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, "Live" ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" ); check( "/home/frerich/Chemical Brothers - Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", QString::null, QString::null ); + "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null ); check( "/home/frerich/mp3/Chemical Brothers/Dig your own hole/[01] Block rockin' beats.mp3", - "Block Rockin' Beats", "Chemical Brothers", "01", QString::null, "Dig Your Own Hole"); - check( QDir::homeDirPath() + "/[01] Randy - Religion, religion.mp3", - "Religion, Religion", "Randy", "01", QString::null, QString::null ); - check( QDir::homeDirPath() + "/(3) Mr. Doe - Punk.mp3", - "Punk", "Mr. Doe", "3", QString::null, QString::null ); + "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null, "Dig Your Own Hole"); + check( TQDir::homeDirPath() + "/[01] Randy - Religion, religion.mp3", + "Religion, Religion", "Randy", "01", TQString::null, TQString::null ); + check( TQDir::homeDirPath() + "/(3) Mr. Doe - Punk.mp3", + "Punk", "Mr. Doe", "3", TQString::null, TQString::null ); check( "c:\\music\\mp3s\\(3) Mr. Doe - Punk.mp3", - "Punk", "Mr. Doe", "3", QString::null, QString::null ); + "Punk", "Mr. Doe", "3", TQString::null, TQString::null ); cout << "All OK" << endl; return 0; } |