Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index 36f77be..d73f0cd 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp @@ -186,4 +186,3 @@ void PlayListWidget::writeDefaultPlaylist() { if( currentString == filename) { - Om3u *m3uList; - // odebug << "<<<<<<<<<<<<<default>>>>>>>>>>>>>>>>>>>" << oendl; + Om3u *m3uList; if( d->selectedFiles->first() ) { @@ -191,3 +190,2 @@ void PlayListWidget::writeDefaultPlaylist() { do { - // odebug << d->selectedFiles->current()->file() << oendl; m3uList->add( d->selectedFiles->current()->file() ); @@ -210,3 +208,2 @@ void PlayListWidget::addToSelection( const DocLnk& lnk ) { } -// writeCurrentM3u(); } @@ -330,6 +327,6 @@ void PlayListWidget::addAllVideoToList() { void PlayListWidget::setDocument( const QString& _fileref ) { - // odebug << "<<<<<<<<set document>>>>>>>>>> "+fileref << oendl; + // odebug << "<<<<<<<<set document>>>>>>>>>> "+fileref << oendl; QString fileref = _fileref; fromSetDocument = TRUE; - + DocLnk lnk(_fileref); @@ -337,3 +334,3 @@ void PlayListWidget::setDocument( const QString& _fileref ) { fileref = lnk.file(); - + QFileInfo fileInfo(fileref); @@ -412,3 +409,3 @@ bool PlayListWidget::prev() { bool PlayListWidget::next() { -//odebug << "<<<<<<<<<<<<next()" << oendl; +//odebug << "<<<<<<<<<<<<next()" << oendl; if ( mediaPlayerState->isShuffled() ) { @@ -623,3 +620,3 @@ void PlayListWidget::openURL() { filename = fileDlg->text(); - odebug << "Selected filename is " + filename << oendl; + odebug << "Selected filename is " + filename << oendl; // Om3u *m3uList; @@ -699,3 +696,3 @@ void PlayListWidget::openFile() { - odebug << "Selected filename is " + str << oendl; + odebug << "Selected filename is " + str << oendl; filename = str; @@ -717,3 +714,3 @@ void PlayListWidget::openFile() { void PlayListWidget::readListFromFile( const QString &filename ) { - odebug << "read list filename " + filename << oendl; + odebug << "read list filename " + filename << oendl; QFileInfo fi(filename); @@ -730,3 +727,3 @@ void PlayListWidget::readListFromFile( const QString &filename ) { s = *it; - // odebug << s << oendl; + // odebug << s << oendl; if(s.left(4)=="http") { @@ -764,3 +761,3 @@ void PlayListWidget::readListFromFile( const QString &filename ) { void PlayListWidget::writeCurrentM3u() { - odebug << "writing to current m3u" << oendl; + odebug << "writing to current m3u" << oendl; Config cfg( "OpiePlayer" ); @@ -774,3 +771,3 @@ void PlayListWidget::readListFromFile( const QString &filename ) { do { - // odebug << "add writeCurrentM3u " +d->selectedFiles->current()->file() << oendl; + // odebug << "add writeCurrentM3u " +d->selectedFiles->current()->file() << oendl; m3uList->add( d->selectedFiles->current()->file() ); @@ -778,3 +775,3 @@ void PlayListWidget::readListFromFile( const QString &filename ) { while ( d->selectedFiles->next() ); - // odebug << "<<<<<<<<<<<<>>>>>>>>>>>>>>>>>" << oendl; + // odebug << "<<<<<<<<<<<<>>>>>>>>>>>>>>>>>" << oendl; m3uList->write(); @@ -823,3 +820,3 @@ void PlayListWidget::writem3u() { // name = fileDlg->text(); -// odebug << filename << oendl; +// odebug << filename << oendl; if( name.find("/",0,true) != -1) {// assume they specify a file path @@ -841,3 +838,3 @@ void PlayListWidget::writem3u() { while ( d->selectedFiles->next() ); - // odebug << list << oendl; + // odebug << list << oendl; m3uList->write(); @@ -853,3 +850,3 @@ void PlayListWidget::writem3u() { - // odebug << filename << oendl; + // odebug << filename << oendl; Config config( "OpiePlayer" ); @@ -861,3 +858,3 @@ void PlayListWidget::writem3u() { if(!lnk.writeLink()) { - odebug << "Writing doclink did not work" << oendl; + odebug << "Writing doclink did not work" << oendl; } @@ -895,3 +892,3 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { // case Key_P: //play - // odebug << "Play" << oendl; + // odebug << "Play" << oendl; // playSelected(); @@ -925,3 +922,3 @@ void PlayListWidget::keyReleaseEvent( QKeyEvent *e ) { void PlayListWidget::pmViewActivated(int index) { -// odebug << "" << index << "" << oendl; +// odebug << "" << index << "" << oendl; switch(index) { @@ -955,3 +952,3 @@ void PlayListWidget::populateSkinsMenu() { skinName = fi->fileName(); -// odebug << fi->fileName() << oendl; +// odebug << fi->fileName() << oendl; if( skinName != "." && skinName != ".." && skinName !="CVS" ) { @@ -1011,3 +1008,3 @@ QString PlayListWidget::currentFileListPathName() const { void PlayListWidget::qcopReceive(const QCString &msg, const QByteArray &data) { - odebug << "qcop message "+msg << oendl; + odebug << "qcop message "+msg << oendl; QDataStream stream ( data, IO_ReadOnly ); |