summaryrefslogtreecommitdiffstats
path: root/juk/tagguessertest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /juk/tagguessertest.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/tagguessertest.cpp')
-rw-r--r--juk/tagguessertest.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/juk/tagguessertest.cpp b/juk/tagguessertest.cpp
index b94f9639..adba59db 100644
--- a/juk/tagguessertest.cpp
+++ b/juk/tagguessertest.cpp
@@ -35,7 +35,7 @@ using std::endl;
void check( const TQString &filename, const TQString &title,
const TQString &artist, const TQString &track,
- const TQString &comment, const TQString &album = TQString::null )
+ const TQString &comment, const TQString &album = TQString() )
{
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
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", TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString() );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats [Live].mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats (Live).mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/(Chemical Brothers) Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), TQString() );
check( "/home/frerich/Chemical Brothers - Block rockin' beats [Live].mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/Chemical Brothers - Block rockin' beats (Live).mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, "Live" );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), "Live" );
check( "/home/frerich/Chemical Brothers - Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", TQString::null, TQString::null );
+ "Block Rockin' Beats", "Chemical Brothers", TQString(), TQString() );
check( "/home/frerich/mp3/Chemical Brothers/Dig your own hole/[01] Block rockin' beats.mp3",
- "Block Rockin' Beats", "Chemical Brothers", "01", TQString::null, "Dig Your Own Hole");
+ "Block Rockin' Beats", "Chemical Brothers", "01", TQString(), "Dig Your Own Hole");
check( TQDir::homeDirPath() + "/[01] Randy - Religion, religion.mp3",
- "Religion, Religion", "Randy", "01", TQString::null, TQString::null );
+ "Religion, Religion", "Randy", "01", TQString(), TQString() );
check( TQDir::homeDirPath() + "/(3) Mr. Doe - Punk.mp3",
- "Punk", "Mr. Doe", "3", TQString::null, TQString::null );
+ "Punk", "Mr. Doe", "3", TQString(), TQString() );
check( "c:\\music\\mp3s\\(3) Mr. Doe - Punk.mp3",
- "Punk", "Mr. Doe", "3", TQString::null, TQString::null );
+ "Punk", "Mr. Doe", "3", TQString(), TQString() );
cout << "All OK" << endl;
return 0;
}