Diffstat (limited to 'core/multimedia/opieplayer/om3u.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/om3u.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/core/multimedia/opieplayer/om3u.cpp b/core/multimedia/opieplayer/om3u.cpp index ae89518..95ed03c 100644 --- a/core/multimedia/opieplayer/om3u.cpp +++ b/core/multimedia/opieplayer/om3u.cpp @@ -33,2 +33,4 @@ +/* OPIE */ +#include <opie2/odebug.h> @@ -46,3 +48,3 @@ Om3u::Om3u( const QString &filePath, int mode) : QStringList (){ -//qDebug("<<<<<<<new m3u "+filePath); +//odebug << "<<<<<<<new m3u "+filePath << oendl; f.setName(filePath); @@ -54,3 +56,3 @@ Om3u::~Om3u(){} void Om3u::readM3u() { -// qDebug("<<<<<<reading m3u "+f.name()); +// odebug << "<<<<<<reading m3u "+f.name() << oendl; QTextStream t(&f); @@ -60,3 +62,3 @@ void Om3u::readM3u() { s=t.readLine(); - // qDebug(s); + // odebug << s << oendl; if( s.find( "#", 0, TRUE) == -1 ) { @@ -69,3 +71,3 @@ void Om3u::readM3u() { append(s); - // qDebug(s); + // odebug << s << oendl; } else { // is url @@ -79,3 +81,3 @@ void Om3u::readM3u() { append(name); - // qDebug(name); + // odebug << name << oendl; } @@ -94,3 +96,3 @@ void Om3u::readPls() { //it's a pls file s.replace( QRegExp( "%20" )," "); -// qDebug( "adding " + s + " to playlist" ); +// odebug << "adding " + s + " to playlist" << oendl; // numberofentries=2 @@ -128,3 +130,3 @@ void Om3u::write() { //writes list to m3u file for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) { - // qDebug(*it); + // odebug << *it << oendl; t << *it << "\n"; @@ -144,3 +146,3 @@ void Om3u::remove(const QString &filePath) { //removes from m3u list currentFile=*it; - // qDebug(*it); + // odebug << *it << oendl; |