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
MythFlashPlayer
Definition: mythflashplayer.h:9
MythFlashPlayer::MythFlashPlayer
MythFlashPlayer(MythScreenStack *parent, QStringList &urlList)
Definition: mythflashplayer.cpp:20
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition: mythscreentype.h:45
MythFlashPlayer::evaluateJavaScript
QVariant evaluateJavaScript(const QString &source)
Definition: mythflashplayer.cpp:68
MythFlashPlayer::m_url
QString m_url
Definition: mythflashplayer.h:22
MythFlashPlayer::keyPressEvent
bool keyPressEvent(QKeyEvent *event) override
Key event handler.
Definition: mythflashplayer.cpp:73
MythFlashPlayer::m_fftime
int m_fftime
Definition: mythflashplayer.h:23
MythFlashPlayer::Create
bool Create(void) override
Definition: mythflashplayer.cpp:48
MythFlashPlayer::m_browser
MythUIWebBrowser * m_browser
Definition: mythflashplayer.h:21
MythFlashPlayer::m_jumptime
int m_jumptime
Definition: mythflashplayer.h:25
MythFlashPlayer::m_rewtime
int m_rewtime
Definition: mythflashplayer.h:24
MythUIWebBrowser
Web browsing widget.
Definition: mythuiwebbrowser.h:133
MythFlashPlayer::~MythFlashPlayer
~MythFlashPlayer() override
Definition: mythflashplayer.cpp:34
mythscreentype.h