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.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h
index 3a52dd5..6fe2211 100644
--- a/core/multimedia/opieplayer/playlistwidget.h
+++ b/core/multimedia/opieplayer/playlistwidget.h
@@ -15,50 +15,50 @@
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20#ifndef PLAY_LIST_WIDGET_H 20#ifndef PLAY_LIST_WIDGET_H
21#define PLAY_LIST_WIDGET_H 21#define PLAY_LIST_WIDGET_H
22 22
23 23
24#include <qmainwindow.h> 24#include <qmainwindow.h>
25#include <qpe/applnk.h> 25#include <qpe/applnk.h>
26#include <qtabwidget.h> 26#include <qtabwidget.h>
27#include <qtimer.h> 27/* #include <qtimer.h> */
28 28
29 29
30class PlayListWidgetPrivate; 30class PlayListWidgetPrivate;
31class Config; 31class Config;
32class QListViewItem; 32class QListViewItem;
33class QListView; 33class QListView;
34class QPoint; 34class QPoint;
35class QAction; 35class QAction;
36class QLabel; 36class QLabel;
37 37
38class PlayListWidget : public QMainWindow { 38class PlayListWidget : public QMainWindow {
39 Q_OBJECT 39 Q_OBJECT
40public: 40public:
41 PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); 41 PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 );
42 ~PlayListWidget(); 42 ~PlayListWidget();
43 QTabWidget * tabWidget; 43 QTabWidget * tabWidget;
44 QAction *fullScreenButton, *scaleButton; 44 QAction *fullScreenButton, *scaleButton;
45 DocLnkSet files; 45 DocLnkSet files;
46 DocLnkSet vFiles; 46 DocLnkSet vFiles;
47 QListView *audioView, *videoView, *playlistView; 47 QListView *audioView, *videoView, *playlistView;
48 QLabel *libString; 48 QLabel *libString;
49 // retrieve the current playlist entry (media file link) 49 // retrieve the current playlist entry (media file link)
50 const DocLnk *current(); 50 const DocLnk *current();
51 void useSelectedDocument(); 51 void useSelectedDocument();
52 QTimer * menuTimer; 52/* QTimer * menuTimer; */
53 53
54public slots: 54public slots:
55 void setDocument( const QString& fileref ); 55 void setDocument( const QString& fileref );
56 void addToSelection( const DocLnk& ); // Add a media file to the playlist 56 void addToSelection( const DocLnk& ); // Add a media file to the playlist
57 void addToSelection( QListViewItem* ); // Add a media file to the playlist 57 void addToSelection( QListViewItem* ); // Add a media file to the playlist
58 void addToSelection( QListViewItem*, const QPoint&,int ); // Add a media file to the playlist 58 void addToSelection( QListViewItem*, const QPoint&,int ); // Add a media file to the playlist
59 void setActiveWindow(); // need to handle this to show the right view 59 void setActiveWindow(); // need to handle this to show the right view
60 void setPlaylist( bool ); // Show/Hide the playlist 60 void setPlaylist( bool ); // Show/Hide the playlist
61 void setView( char ); 61 void setView( char );
62 void clearList(); 62 void clearList();
63 void addAllToList(); 63 void addAllToList();
64 void addAllMusicToList(); 64 void addAllMusicToList();
@@ -67,31 +67,31 @@ public slots:
67 void loadList(); // Load a playlist 67 void loadList(); // Load a playlist
68 void playIt( QListViewItem *); 68 void playIt( QListViewItem *);
69 bool first(); 69 bool first();
70 bool last(); 70 bool last();
71 bool next(); 71 bool next();
72 bool prev(); 72 bool prev();
73 void addSelected(); 73 void addSelected();
74 void removeSelected(); 74 void removeSelected();
75 void tabChanged(QWidget*); 75 void tabChanged(QWidget*);
76/* void setFullScreen(); */ 76/* void setFullScreen(); */
77/* void setScaled(); */ 77/* void setScaled(); */
78protected: 78protected:
79 void contentsMousePressEvent( QMouseEvent * e ); 79/* void contentsMousePressEvent( QMouseEvent * e ); */
80 void contentsMouseReleaseEvent( QMouseEvent * e ); 80/* void contentsMouseReleaseEvent( QMouseEvent * e ); */
81 81
82private: 82private:
83 void initializeStates(); 83 void initializeStates();
84 void readConfig( Config& cfg ); 84 void readConfig( Config& cfg );
85 void writeConfig( Config& cfg ) const; 85 void writeConfig( Config& cfg ) const;
86 PlayListWidgetPrivate *d; // Private implementation data 86 PlayListWidgetPrivate *d; // Private implementation data
87 87
88protected slots: 88protected slots:
89 void cancelMenuTimer(); 89/* void cancelMenuTimer(); */
90 void showFileMenu(); 90/* void showFileMenu(); */
91 91
92 92
93}; 93};
94 94
95 95
96#endif // PLAY_LIST_WIDGET_H 96#endif // PLAY_LIST_WIDGET_H
97 97