~neon/juk/master

« back to all changes in this revision

Viewing changes to playlist.cpp

  • Committer: Frerich Raabe
  • Date: 2003-04-09 18:43:41 UTC
  • Revision ID: git-v1:e34eae1b0d552eb7d6caf7db6397f6ccf70375cf
- 80% of the "Rename & Move files based on tag information" thing. Lacks
  a configuration dialog. Currently the KAction in juk.cpp is commented out
  so that the merkin doesn't get anal about stuff which does not work yet.
  Also, there's a return in FileRenamer::moveFile() because I don't trust it
  yet.

svn path=/trunk/kdemultimedia/juk/; revision=219338

Show diffs side-by-side

added added

removed removed

Lines of Context:
421
421
    clearItems(l);
422
422
}
423
423
 
 
424
void Playlist::slotRenameFile()
 
425
{
 
426
    KApplication::setOverrideCursor(Qt::waitCursor);
 
427
    PlaylistItemList items = selectedItems();
 
428
    for(PlaylistItemList::Iterator it = items.begin(); it != items.end(); ++it)
 
429
        (*it)->renameFile();
 
430
    KApplication::restoreOverrideCursor();
 
431
}
 
432
 
424
433
void Playlist::slotGuessTagInfo()
425
434
{
426
435
    KApplication::setOverrideCursor(Qt::waitCursor);