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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h
index 0c0e367..6e9acc0 100644
--- a/core/multimedia/opieplayer/playlistwidget.h
+++ b/core/multimedia/opieplayer/playlistwidget.h
@@ -20,24 +20,25 @@
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 <qpe/fileselector.h> 26#include <qpe/fileselector.h>
27#include <qpushbutton.h> 27#include <qpushbutton.h>
28 28
29#include <qpe/qcopenvelope_qws.h> 29#include <qpe/qcopenvelope_qws.h>
30 30
31#include "om3u.h" 31#include "om3u.h"
32#include "rssparser.h"
32/* #include <qtimer.h> */ 33/* #include <qtimer.h> */
33 34
34 35
35class PlayListWidgetPrivate; 36class PlayListWidgetPrivate;
36class Config; 37class Config;
37class QListViewItem; 38class QListViewItem;
38class QListView; 39class QListView;
39class QPoint; 40class QPoint;
40class QAction; 41class QAction;
41class QLabel; 42class QLabel;
42class QPopupMenu; 43class QPopupMenu;
43 44
@@ -65,34 +66,35 @@ public:
65public slots: 66public slots:
66 bool first(); 67 bool first();
67 bool last(); 68 bool last();
68 bool next(); 69 bool next();
69 bool prev(); 70 bool prev();
70/* void setFullScreen(); */ 71/* void setFullScreen(); */
71/* void setScaled(); */ 72/* void setScaled(); */
72protected: 73protected:
73 QCopChannel * channel; 74 QCopChannel * channel;
74 QPopupMenu *skinsMenu; 75 QPopupMenu *skinsMenu;
75/* void contentsMousePressEvent( QMouseEvent * e ); */ 76/* void contentsMousePressEvent( QMouseEvent * e ); */
76/* void contentsMouseReleaseEvent( QMouseEvent * e ); */ 77/* void contentsMouseReleaseEvent( QMouseEvent * e ); */
77void keyReleaseEvent( QKeyEvent *e); 78 void keyReleaseEvent( QKeyEvent *e);
78void keyPressEvent( QKeyEvent *e); 79 void keyPressEvent( QKeyEvent *e);
79private: 80private:
81 RssParser rssHandler;
80 int defaultSkinIndex; 82 int defaultSkinIndex;
81 bool audioScan, videoScan; 83 bool audioScan, videoScan;
82 void doBlank(); 84 void doBlank();
83 void doUnblank(); 85 void doUnblank();
84 void readm3u(const QString &); 86 void readm3u(const QString &);
85 void readPls(const QString &); 87 void readPls(const QString &);
86 88 bool readpodcast(const QString&);
87 89
88 void initializeStates(); 90 void initializeStates();
89 void readConfig( Config& cfg ); 91 void readConfig( Config& cfg );
90 void writeConfig( Config& cfg ) const; 92 void writeConfig( Config& cfg ) const;
91 PlayListWidgetPrivate *d; // Private implementation data 93 PlayListWidgetPrivate *d; // Private implementation data
92 void populateAudioView(); 94 void populateAudioView();
93 void populateVideoView(); 95 void populateVideoView();
94private slots: 96private slots:
95 97
96 void qcopReceive(const QCString&, const QByteArray&); 98 void qcopReceive(const QCString&, const QByteArray&);
97 void populateSkinsMenu(); 99 void populateSkinsMenu();
98 void skinsMenuActivated(int); 100 void skinsMenuActivated(int);
@@ -116,23 +118,25 @@ private slots:
116 void loadList( const DocLnk &); // Load a playlist 118 void loadList( const DocLnk &); // Load a playlist
117 void playIt( QListViewItem *); 119 void playIt( QListViewItem *);
118 120
119 void btnPlay(bool); 121 void btnPlay(bool);
120 void deletePlaylist(); 122 void deletePlaylist();
121 void addSelected(); 123 void addSelected();
122 void removeSelected(); 124 void removeSelected();
123 void tabChanged(QWidget*); 125 void tabChanged(QWidget*);
124 void viewPressed( int, QListViewItem *, const QPoint&, int); 126 void viewPressed( int, QListViewItem *, const QPoint&, int);
125 void playlistViewPressed( int, QListViewItem *, const QPoint&, int); 127 void playlistViewPressed( int, QListViewItem *, const QPoint&, int);
126 void playSelected(); 128 void playSelected();
127 void listDelete(); 129 void listDelete();
130
131 bool downloadPodcast(const QString &);
128 132
129protected slots: 133protected slots:
130/* void cancelMenuTimer(); */ 134/* void cancelMenuTimer(); */
131/* void showFileMenu(); */ 135/* void showFileMenu(); */
132 136
133 137
134}; 138};
135 139
136 140
137#endif // PLAY_LIST_WIDGET_H 141#endif // PLAY_LIST_WIDGET_H
138 142