MythTV
master
mythplugins
mythbrowser
mythbrowser
mythflashplayer.h
Go to the documentation of this file.
1
#ifndef MYTHFLASHPLAYER_H
2
#define MYTHFLASHPLAYER_H
3
4
#include <
libmythui/mythscreentype.h
>
5
6
class
MythUIWebBrowser
;
7
8
class
MythFlashPlayer
:
public
MythScreenType
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);
21
MythUIWebBrowser
*
m_browser
{
nullptr
};
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:8
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:132
MythFlashPlayer::~MythFlashPlayer
~MythFlashPlayer() override
Definition:
mythflashplayer.cpp:34
mythscreentype.h
Generated on Sun Jan 19 2025 03:16:43 for MythTV by
1.8.17