summaryrefslogtreecommitdiff
path: root/core/multimedia/opieplayer/playlistwidget.h
Unidiff
Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h
index f22770f..c07d4f8 100644
--- a/core/multimedia/opieplayer/playlistwidget.h
+++ b/core/multimedia/opieplayer/playlistwidget.h
@@ -51,49 +51,53 @@ public:
51 bool fromSetDocument; 51 bool fromSetDocument;
52 bool insanityBool; 52 bool insanityBool;
53 QString setDocFileRef; 53 QString setDocFileRef;
54 // retrieve the current playlist entry (media file link) 54 // retrieve the current playlist entry (media file link)
55 const DocLnk *current(); 55 const DocLnk *current();
56 void useSelectedDocument(); 56 void useSelectedDocument();
57/* QTimer * menuTimer; */ 57/* QTimer * menuTimer; */
58 FileSelector* playLists; 58 FileSelector* playLists;
59 QPushButton *tbDeletePlaylist; 59 QPushButton *tbDeletePlaylist;
60 int fd; 60 int fd;
61public slots: 61public slots:
62 bool first(); 62 bool first();
63 bool last(); 63 bool last();
64 bool next(); 64 bool next();
65 bool prev(); 65 bool prev();
66/* void setFullScreen(); */ 66/* void setFullScreen(); */
67/* void setScaled(); */ 67/* void setScaled(); */
68protected: 68protected:
69/* void contentsMousePressEvent( QMouseEvent * e ); */ 69/* void contentsMousePressEvent( QMouseEvent * e ); */
70/* void contentsMouseReleaseEvent( QMouseEvent * e ); */ 70/* void contentsMouseReleaseEvent( QMouseEvent * e ); */
71void keyReleaseEvent( QKeyEvent *e); 71void keyReleaseEvent( QKeyEvent *e);
72private: 72private:
73 void doBlank(); 73 void doBlank();
74 void doUnblank(); 74 void doUnblank();
75 75 void readm3u(const QString &);
76 void writem3u(const QString &);
77 void readPls(const QString &);
78
79
76 void initializeStates(); 80 void initializeStates();
77 void readConfig( Config& cfg ); 81 void readConfig( Config& cfg );
78 void writeConfig( Config& cfg ) const; 82 void writeConfig( Config& cfg ) const;
79 PlayListWidgetPrivate *d; // Private implementation data 83 PlayListWidgetPrivate *d; // Private implementation data
80 void populateAudioView(); 84 void populateAudioView();
81 void populateVideoView(); 85 void populateVideoView();
82private slots: 86private slots:
83 void openFile(); 87 void openFile();
84 void setDocument( const QString& fileref ); 88 void setDocument( const QString& fileref );
85 void addToSelection( const DocLnk& ); // Add a media file to the playlist 89 void addToSelection( const DocLnk& ); // Add a media file to the playlist
86 void addToSelection( QListViewItem* ); // Add a media file to the playlist 90 void addToSelection( QListViewItem* ); // Add a media file to the playlist
87 void setActiveWindow(); // need to handle this to show the right view 91 void setActiveWindow(); // need to handle this to show the right view
88 void setPlaylist( bool ); // Show/Hide the playlist 92 void setPlaylist( bool ); // Show/Hide the playlist
89 void setView( char ); 93 void setView( char );
90 void clearList(); 94 void clearList();
91 void addAllToList(); 95 void addAllToList();
92 void addAllMusicToList(); 96 void addAllMusicToList();
93 void addAllVideoToList(); 97 void addAllVideoToList();
94 void saveList(); // Save the playlist 98 void saveList(); // Save the playlist
95 void loadList( const DocLnk &); // Load a playlist 99 void loadList( const DocLnk &); // Load a playlist
96 void playIt( QListViewItem *); 100 void playIt( QListViewItem *);
97 101
98 void btnPlay(bool); 102 void btnPlay(bool);
99 void deletePlaylist(); 103 void deletePlaylist();