Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 49 lines (37 sloc) 0.865 kB
d1c0583 @RJ initial checkin
authored
1 #ifndef WEBKITAPI_H
2 #define WEBKITAPI_H
3
4 #include <qobject.h>
5
6 class QWebView;
7 class QWebFrame;
8
9 class WebkitApi : public QObject
10 {
11 Q_OBJECT
12 public:
13 WebkitApi( QObject *parent );
14
15 void setWebView( QWebView *view );
16
17 void emitTick(qint64, qint64);
18 void emitStateChange(QString);
19 void emitBufferPercent(int);
20 void emitTogglePause();
21 void emitVolumeChanged(int);
22
23 signals:
24 void elapsed(int, int);
25 void stateChange(QString);
26 void bufferPercent(int);
27 void volumeChanged(int);
28 void pauseToggled();
29 void playRequested(QString);
30 void stopRequested();
31
32 public slots:
33 void togglePause();
34 void setVolume(int);
35 void play(QString);
36 void stop();
a9393bf @RJ handle layout manually, use layout manager
authored
37 void setWindowTitle(QString);
e294af4 @RJ player improvements
authored
38 void log(QString);
d1c0583 @RJ initial checkin
authored
39
40 private slots:
41 void attachObject();
42
43 private:
44 QWebFrame *frame;
45 };
46
47
48 #endif // WEBKITAPI_H
Something went wrong with that request. Please try again.