summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/playlistwidget.h
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h
index 3f52e63..ad5c9a3 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.h
+++ b/noncore/multimedia/opieplayer2/playlistwidget.h
@@ -73,48 +73,51 @@ public:
73 ~PlayListWidget(); 73 ~PlayListWidget();
74 DocLnkSet files; 74 DocLnkSet files;
75 DocLnkSet vFiles; 75 DocLnkSet vFiles;
76 bool fromSetDocument; 76 bool fromSetDocument;
77 bool insanityBool; 77 bool insanityBool;
78 QString setDocFileRef, currentPlayList; 78 QString setDocFileRef, currentPlayList;
79 // retrieve the current playlist entry (media file link) 79 // retrieve the current playlist entry (media file link)
80 const DocLnk *current() const; 80 const DocLnk *current() const;
81 void useSelectedDocument(); 81 void useSelectedDocument();
82 int selected; 82 int selected;
83 TabType currentTab() const; 83 TabType currentTab() const;
84 84
85 Entry currentEntry() const; 85 Entry currentEntry() const;
86 86
87public slots: 87public slots:
88 bool first(); 88 bool first();
89 bool last(); 89 bool last();
90 bool next(); 90 bool next();
91 bool prev(); 91 bool prev();
92 void writeDefaultPlaylist( ); 92 void writeDefaultPlaylist( );
93 QString currentFileListPathName() const; 93 QString currentFileListPathName() const;
94protected: 94protected:
95 void keyReleaseEvent( QKeyEvent *e); 95 void keyReleaseEvent( QKeyEvent *e);
96 96
97signals:
98 void skinSelected();
99
97private: 100private:
98 int defaultSkinIndex; 101 int defaultSkinIndex;
99 bool audioScan, videoScan, audioPopulated, videoPopulated; 102 bool audioScan, videoScan, audioPopulated, videoPopulated;
100 void readm3u(const QString &); 103 void readm3u(const QString &);
101 void readPls(const QString &); 104 void readPls(const QString &);
102 void initializeStates(); 105 void initializeStates();
103 void populateAudioView(); 106 void populateAudioView();
104 void populateVideoView(); 107 void populateVideoView();
105 108
106 QListView *currentFileListView() const; 109 QListView *currentFileListView() const;
107 110
108 bool inFileListMode() const; 111 bool inFileListMode() const;
109 112
110private slots: 113private slots:
111 void populateSkinsMenu(); 114 void populateSkinsMenu();
112 void skinsMenuActivated(int); 115 void skinsMenuActivated(int);
113 void pmViewActivated(int); 116 void pmViewActivated(int);
114 void writem3u(); 117 void writem3u();
115 void writeCurrentM3u(); 118 void writeCurrentM3u();
116 void scanForAudio(); 119 void scanForAudio();
117 void scanForVideo(); 120 void scanForVideo();
118 void openFile(); 121 void openFile();
119 void setDocument( const QString& fileref ); 122 void setDocument( const QString& fileref );
120 void addToSelection( const DocLnk& ); // Add a media file to the playlist 123 void addToSelection( const DocLnk& ); // Add a media file to the playlist