summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-05-13 13:36:02 (UTC)
committer llornkcor <llornkcor>2002-05-13 13:36:02 (UTC)
commit0a765726bcd937d2252d2004e266b799bada7266 (patch) (unidiff)
tree0dd4a6906957dc7befaf6aa4932265b68da620ca
parent97882a58639641376c9e5e1b1ba3fdedd6917fb3 (diff)
downloadopie-0a765726bcd937d2252d2004e266b799bada7266.zip
opie-0a765726bcd937d2252d2004e266b799bada7266.tar.gz
opie-0a765726bcd937d2252d2004e266b799bada7266.tar.bz2
add keypressevent declaration
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/playlistwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h
index c07d4f8..778e3ee 100644
--- a/core/multimedia/opieplayer/playlistwidget.h
+++ b/core/multimedia/opieplayer/playlistwidget.h
@@ -48,48 +48,49 @@ public:
48 DocLnkSet vFiles; 48 DocLnkSet vFiles;
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 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);
72void keyPressEvent( QKeyEvent *e);
72private: 73private:
73 void doBlank(); 74 void doBlank();
74 void doUnblank(); 75 void doUnblank();
75 void readm3u(const QString &); 76 void readm3u(const QString &);
76 void writem3u(const QString &); 77 void writem3u(const QString &);
77 void readPls(const QString &); 78 void readPls(const QString &);
78 79
79 80
80 void initializeStates(); 81 void initializeStates();
81 void readConfig( Config& cfg ); 82 void readConfig( Config& cfg );
82 void writeConfig( Config& cfg ) const; 83 void writeConfig( Config& cfg ) const;
83 PlayListWidgetPrivate *d; // Private implementation data 84 PlayListWidgetPrivate *d; // Private implementation data
84 void populateAudioView(); 85 void populateAudioView();
85 void populateVideoView(); 86 void populateVideoView();
86private slots: 87private slots:
87 void openFile(); 88 void openFile();
88 void setDocument( const QString& fileref ); 89 void setDocument( const QString& fileref );
89 void addToSelection( const DocLnk& ); // Add a media file to the playlist 90 void addToSelection( const DocLnk& ); // Add a media file to the playlist
90 void addToSelection( QListViewItem* ); // Add a media file to the playlist 91 void addToSelection( QListViewItem* ); // Add a media file to the playlist
91 void setActiveWindow(); // need to handle this to show the right view 92 void setActiveWindow(); // need to handle this to show the right view
92 void setPlaylist( bool ); // Show/Hide the playlist 93 void setPlaylist( bool ); // Show/Hide the playlist
93 void setView( char ); 94 void setView( char );
94 void clearList(); 95 void clearList();
95 void addAllToList(); 96 void addAllToList();