-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 @@ -68,21 +68,16 @@ public: 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(); @@ -135,10 +130,17 @@ private slots: 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 |