summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/playlistwidget.h
authorsimon <simon>2002-12-02 14:51:53 (UTC)
committer simon <simon>2002-12-02 14:51:53 (UTC)
commitf90e42128a496a0fb5a67c3148c30ef46092624b (patch) (unidiff)
tree8c0f0bee0fd71536c70c751d29ef9114e4313437 /noncore/multimedia/opieplayer2/playlistwidget.h
parent3644bde7c86013c699978446c29ec6502220e29c (diff)
downloadopie-f90e42128a496a0fb5a67c3148c30ef46092624b.zip
opie-f90e42128a496a0fb5a67c3148c30ef46092624b.tar.gz
opie-f90e42128a496a0fb5a67c3148c30ef46092624b.tar.bz2
- added currentFileListView() method that returns the current file list
qlistview object and simplified currentFileListPathName with that
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/playlistwidget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h
index 7044abe..a608eae 100644
--- a/noncore/multimedia/opieplayer2/playlistwidget.h
+++ b/noncore/multimedia/opieplayer2/playlistwidget.h
@@ -81,24 +81,26 @@ public slots:
81protected: 81protected:
82 void keyReleaseEvent( QKeyEvent *e); 82 void keyReleaseEvent( QKeyEvent *e);
83 83
84private: 84private:
85 int defaultSkinIndex; 85 int defaultSkinIndex;
86 bool audioScan, videoScan, audioPopulated, videoPopulated; 86 bool audioScan, videoScan, audioPopulated, videoPopulated;
87 void readm3u(const QString &); 87 void readm3u(const QString &);
88 void readPls(const QString &); 88 void readPls(const QString &);
89 void initializeStates(); 89 void initializeStates();
90 void populateAudioView(); 90 void populateAudioView();
91 void populateVideoView(); 91 void populateVideoView();
92 92
93 QListView *currentFileListView() const;
94
93private slots: 95private slots:
94 void populateSkinsMenu(); 96 void populateSkinsMenu();
95 void skinsMenuActivated(int); 97 void skinsMenuActivated(int);
96 void pmViewActivated(int); 98 void pmViewActivated(int);
97 void writem3u(); 99 void writem3u();
98 void writeCurrentM3u(); 100 void writeCurrentM3u();
99 void scanForAudio(); 101 void scanForAudio();
100 void scanForVideo(); 102 void scanForVideo();
101 void openFile(); 103 void openFile();
102 void setDocument( const QString& fileref ); 104 void setDocument( const QString& fileref );
103 void addToSelection( const DocLnk& ); // Add a media file to the playlist 105 void addToSelection( const DocLnk& ); // Add a media file to the playlist
104 void addToSelection( QListViewItem* ); // Add a media file to the playlist 106 void addToSelection( QListViewItem* ); // Add a media file to the playlist