Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.h | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 10a42df..186ca1b 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -49,60 +49,64 @@ public: | |||
49 | QListView *audioView, *videoView, *playlistView; | 49 | QListView *audioView, *videoView, *playlistView; |
50 | QLabel *libString; | 50 | QLabel *libString; |
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 | public slots: | 60 | public slots: |
61 | bool first(); | ||
62 | bool last(); | ||
63 | bool next(); | ||
64 | bool prev(); | ||
65 | /* void setFullScreen(); */ | ||
66 | /* void setScaled(); */ | ||
67 | protected: | ||
68 | /* void contentsMousePressEvent( QMouseEvent * e ); */ | ||
69 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ | ||
70 | |||
71 | private: | ||
72 | void initializeStates(); | ||
73 | void readConfig( Config& cfg ); | ||
74 | void writeConfig( Config& cfg ) const; | ||
75 | PlayListWidgetPrivate *d; // Private implementation data | ||
76 | void populateAudioView(); | ||
77 | void populateVideoView(); | ||
78 | private slots: | ||
61 | void setDocument( const QString& fileref ); | 79 | void setDocument( const QString& fileref ); |
62 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 80 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |
63 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 81 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |
64 | void setActiveWindow(); // need to handle this to show the right view | 82 | void setActiveWindow(); // need to handle this to show the right view |
65 | void setPlaylist( bool ); // Show/Hide the playlist | 83 | void setPlaylist( bool ); // Show/Hide the playlist |
66 | void setView( char ); | 84 | void setView( char ); |
67 | void clearList(); | 85 | void clearList(); |
68 | void addAllToList(); | 86 | void addAllToList(); |
69 | void addAllMusicToList(); | 87 | void addAllMusicToList(); |
70 | void addAllVideoToList(); | 88 | void addAllVideoToList(); |
71 | void saveList(); // Save the playlist | 89 | void saveList(); // Save the playlist |
72 | void loadList( const DocLnk &); // Load a playlist | 90 | void loadList( const DocLnk &); // Load a playlist |
73 | void playIt( QListViewItem *); | 91 | void playIt( QListViewItem *); |
74 | 92 | ||
75 | void btnPlay(bool); | 93 | void btnPlay(bool); |
76 | void deletePlaylist(); | 94 | void deletePlaylist(); |
77 | bool first(); | ||
78 | bool last(); | ||
79 | bool next(); | ||
80 | bool prev(); | ||
81 | void addSelected(); | 95 | void addSelected(); |
82 | void removeSelected(); | 96 | void removeSelected(); |
83 | void tabChanged(QWidget*); | 97 | void tabChanged(QWidget*); |
84 | void viewPressed( int, QListViewItem *, const QPoint&, int); | 98 | void viewPressed( int, QListViewItem *, const QPoint&, int); |
85 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); | 99 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); |
86 | void playSelected(); | 100 | void playSelected(); |
87 | /* void setFullScreen(); */ | 101 | void listDelete(); |
88 | /* void setScaled(); */ | 102 | |
89 | protected: | ||
90 | /* void contentsMousePressEvent( QMouseEvent * e ); */ | ||
91 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ | ||
92 | |||
93 | private: | ||
94 | void initializeStates(); | ||
95 | void readConfig( Config& cfg ); | ||
96 | void writeConfig( Config& cfg ) const; | ||
97 | PlayListWidgetPrivate *d; // Private implementation data | ||
98 | |||
99 | protected slots: | 103 | protected slots: |
100 | /* void cancelMenuTimer(); */ | 104 | /* void cancelMenuTimer(); */ |
101 | /* void showFileMenu(); */ | 105 | /* void showFileMenu(); */ |
102 | 106 | ||
103 | 107 | ||
104 | }; | 108 | }; |
105 | 109 | ||
106 | 110 | ||
107 | #endif // PLAY_LIST_WIDGET_H | 111 | #endif // PLAY_LIST_WIDGET_H |
108 | 112 | ||