Commit 9d63eae8 authored by Michael Pyne's avatar Michael Pyne

* The playFirst() method didn't strictly need to be part of the interface.

* Reorganize the Playlist and PlaylistCollection implementations of playFirst()

svn path=/trunk/kdemultimedia/juk/; revision=317168
parent bd612c91
......@@ -71,11 +71,13 @@ public:
virtual FileHandle currentFile() const;
virtual int count() const { return childCount(); }
virtual int time() const;
virtual void playFirst();
virtual void playNext();
virtual void playPrevious();
virtual void stop();
// Plays the top item of the playlist.
void playFirst();
/**
* Saves the file to the currently set file name. If there is no filename
* currently set, the default behavior is to prompt the user for a file
......
......@@ -47,11 +47,13 @@ public:
virtual FileHandle currentFile() const;
virtual int count() const;
virtual int time() const;
virtual void playFirst();
virtual void playNext();
virtual void playPrevious();
virtual void stop();
// Play the top item of the current playlist
void playFirst();
void open(const QStringList &files = QStringList());
void addFolder();
void rename();
......
......@@ -35,7 +35,6 @@ public:
virtual int time() const = 0;
virtual int count() const = 0;
virtual void playFirst() = 0;
virtual void playNext() = 0;
virtual void playPrevious() = 0;
virtual void stop() = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment