-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index ad5c9a3..62d78a2 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h @@ -66,25 +66,20 @@ public: : name( _fileName ), file( _fileName ) {} QString name; QString file; }; PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* parent=0, const char* name=0 ); ~PlayListWidget(); - DocLnkSet files; - DocLnkSet vFiles; - bool fromSetDocument; - bool insanityBool; - QString setDocFileRef, currentPlayList; + // retrieve the current playlist entry (media file link) const DocLnk *current() const; void useSelectedDocument(); - int selected; TabType currentTab() const; Entry currentEntry() const; public slots: bool first(); bool last(); bool next(); @@ -133,12 +128,19 @@ private slots: void deletePlaylist(); void addSelected(); void removeSelected(); void tabChanged(QWidget*); void viewPressed( int, QListViewItem *, const QPoint&, int); void playlistViewPressed( int, QListViewItem *, const QPoint&, int); void playSelected(); +private: + DocLnkSet files; + DocLnkSet vFiles; + bool fromSetDocument; + bool insanityBool; + QString setDocFileRef, currentPlayList; + int selected; }; #endif // PLAY_LIST_WIDGET_H |