author | bipolar <bipolar> | 2002-03-05 00:55:58 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-05 00:55:58 (UTC) |
commit | cde5431fda4046920567164deec6e6bb9724199d (patch) (unidiff) | |
tree | be06665ef4d88df2f5825d82f8cfcf2feff226d0 /core | |
parent | dbc93b5de1b20489a05ce61e42874bf944165223 (diff) | |
download | opie-cde5431fda4046920567164deec6e6bb9724199d.zip opie-cde5431fda4046920567164deec6e6bb9724199d.tar.gz opie-cde5431fda4046920567164deec6e6bb9724199d.tar.bz2 |
ljp: fixed fileselector header file include
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 46272a0..e72551b 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -1,102 +1,102 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
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 | #include <qmainwindow.h> | 23 | #include <qmainwindow.h> |
24 | #include <qpe/applnk.h> | 24 | #include <qpe/applnk.h> |
25 | #include <qtabwidget.h> | 25 | #include <qtabwidget.h> |
26 | #include <fileselector.h> | 26 | #include <qpe/fileselector.h> |
27 | #include <qpushbutton.h> | 27 | #include <qpushbutton.h> |
28 | 28 | ||
29 | /* #include <qtimer.h> */ | 29 | /* #include <qtimer.h> */ |
30 | 30 | ||
31 | 31 | ||
32 | class PlayListWidgetPrivate; | 32 | class PlayListWidgetPrivate; |
33 | class Config; | 33 | class Config; |
34 | class QListViewItem; | 34 | class QListViewItem; |
35 | class QListView; | 35 | class QListView; |
36 | class QPoint; | 36 | class QPoint; |
37 | class QAction; | 37 | class QAction; |
38 | class QLabel; | 38 | class QLabel; |
39 | 39 | ||
40 | class PlayListWidget : public QMainWindow { | 40 | class PlayListWidget : public QMainWindow { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | public: | 42 | public: |
43 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 43 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
44 | ~PlayListWidget(); | 44 | ~PlayListWidget(); |
45 | QTabWidget * tabWidget; | 45 | QTabWidget * tabWidget; |
46 | QAction *fullScreenButton, *scaleButton; | 46 | QAction *fullScreenButton, *scaleButton; |
47 | DocLnkSet files; | 47 | DocLnkSet files; |
48 | DocLnkSet vFiles; | 48 | DocLnkSet vFiles; |
49 | QListView *audioView, *videoView, *playlistView; | 49 | QListView *audioView, *videoView, *playlistView; |
50 | QLabel *libString; | 50 | QLabel *libString; |
51 | // retrieve the current playlist entry (media file link) | 51 | // retrieve the current playlist entry (media file link) |
52 | const DocLnk *current(); | 52 | const DocLnk *current(); |
53 | void useSelectedDocument(); | 53 | void useSelectedDocument(); |
54 | /* QTimer * menuTimer; */ | 54 | /* QTimer * menuTimer; */ |
55 | FileSelector* playLists; | 55 | FileSelector* playLists; |
56 | QPushButton *tbDeletePlaylist; | 56 | QPushButton *tbDeletePlaylist; |
57 | public slots: | 57 | public slots: |
58 | void setDocument( const QString& fileref ); | 58 | void setDocument( const QString& fileref ); |
59 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 59 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |
60 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 60 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |
61 | void setActiveWindow(); // need to handle this to show the right view | 61 | void setActiveWindow(); // need to handle this to show the right view |
62 | void setPlaylist( bool ); // Show/Hide the playlist | 62 | void setPlaylist( bool ); // Show/Hide the playlist |
63 | void setView( char ); | 63 | void setView( char ); |
64 | void clearList(); | 64 | void clearList(); |
65 | void addAllToList(); | 65 | void addAllToList(); |
66 | void addAllMusicToList(); | 66 | void addAllMusicToList(); |
67 | void addAllVideoToList(); | 67 | void addAllVideoToList(); |
68 | void saveList(); // Save the playlist | 68 | void saveList(); // Save the playlist |
69 | void loadList( const DocLnk &); // Load a playlist | 69 | void loadList( const DocLnk &); // Load a playlist |
70 | void playIt( QListViewItem *); | 70 | void playIt( QListViewItem *); |
71 | void fauxPlay(QListViewItem *); | 71 | void fauxPlay(QListViewItem *); |
72 | void btnPlay(bool); | 72 | void btnPlay(bool); |
73 | void deletePlaylist(); | 73 | void deletePlaylist(); |
74 | bool first(); | 74 | bool first(); |
75 | bool last(); | 75 | bool last(); |
76 | bool next(); | 76 | bool next(); |
77 | bool prev(); | 77 | bool prev(); |
78 | void addSelected(); | 78 | void addSelected(); |
79 | void removeSelected(); | 79 | void removeSelected(); |
80 | void tabChanged(QWidget*); | 80 | void tabChanged(QWidget*); |
81 | /* void setFullScreen(); */ | 81 | /* void setFullScreen(); */ |
82 | /* void setScaled(); */ | 82 | /* void setScaled(); */ |
83 | protected: | 83 | protected: |
84 | /* void contentsMousePressEvent( QMouseEvent * e ); */ | 84 | /* void contentsMousePressEvent( QMouseEvent * e ); */ |
85 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ | 85 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ |
86 | 86 | ||
87 | private: | 87 | private: |
88 | void initializeStates(); | 88 | void initializeStates(); |
89 | void readConfig( Config& cfg ); | 89 | void readConfig( Config& cfg ); |
90 | void writeConfig( Config& cfg ) const; | 90 | void writeConfig( Config& cfg ) const; |
91 | PlayListWidgetPrivate *d; // Private implementation data | 91 | PlayListWidgetPrivate *d; // Private implementation data |
92 | 92 | ||
93 | protected slots: | 93 | protected slots: |
94 | /* void cancelMenuTimer(); */ | 94 | /* void cancelMenuTimer(); */ |
95 | /* void showFileMenu(); */ | 95 | /* void showFileMenu(); */ |
96 | 96 | ||
97 | 97 | ||
98 | }; | 98 | }; |
99 | 99 | ||
100 | 100 | ||
101 | #endif // PLAY_LIST_WIDGET_H | 101 | #endif // PLAY_LIST_WIDGET_H |
102 | 102 | ||