MythTV  master
mythflashplayer.h
Go to the documentation of this file.
1 #ifndef MYTHFLASHPLAYER_H
2 #define MYTHFLASHPLAYER_H
3 
4 #include <mythscreentype.h>
5 
6 class MythUIWebBrowser;
7 
9 {
10  Q_OBJECT
11 
12  public:
13  MythFlashPlayer(MythScreenStack *parent, QStringList &urlList);
14  ~MythFlashPlayer() override;
15 
16  bool Create(void) override; // MythScreenType
17  bool keyPressEvent(QKeyEvent *event) override; // MythScreenType
18 
19  private:
20  QVariant evaluateJavaScript(const QString& source);
22  QString m_url;
23  int m_fftime {30};
24  int m_rewtime {5};
25  int m_jumptime {10};
26 };
27 
28 #endif
QVariant evaluateJavaScript(const QString &source)
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
bool Create(void) override
MythUIWebBrowser * m_browser
MythFlashPlayer(MythScreenStack *parent, QStringList &urlList)
Screen in which all other widgets are contained and rendered.
Web browsing widget.
~MythFlashPlayer() override