MythTV
master
mythplugins
mythmusic
mythmusic
miniplayer.h
Go to the documentation of this file.
1
#ifndef MINIPLAYER_H_
2
#define MINIPLAYER_H_
3
4
// MythTV
5
#include <
libmythbase/mythpluginexport.h
>
6
#include <
libmythui/mythscreentype.h
>
7
8
#include "
musiccommon.h
"
9
10
class
QTimer;
11
12
class
MPLUGIN_PUBLIC
MiniPlayer
:
public
MusicCommon
13
{
14
Q_OBJECT
15
16
public
:
17
explicit
MiniPlayer
(
MythScreenStack
*parent);
18
~
MiniPlayer
()
override
;
19
20
bool
Create
(
void
)
override
;
// MythScreenType
21
bool
keyPressEvent
(QKeyEvent *event)
override
;
// MusicCommon
22
23
public
slots:
24
void
timerTimeout(
void
);
25
26
private
:
27
QTimer *m_displayTimer {
nullptr
};
28
};
29
30
#endif
MusicCommon::keyPressEvent
bool keyPressEvent(QKeyEvent *e) override
Key event handler.
Definition:
musiccommon.cpp:576
MythScreenStack
Definition:
mythscreenstack.h:16
MythScreenType::Create
virtual bool Create(void)
Definition:
mythscreentype.cpp:266
mythpluginexport.h
musiccommon.h
MPLUGIN_PUBLIC
#define MPLUGIN_PUBLIC
Definition:
mythpluginexport.h:9
MiniPlayer
Definition:
miniplayer.h:12
mythscreentype.h
MusicCommon
Definition:
musiccommon.h:48
Generated on Wed Jun 7 2023 03:22:59 for MythTV by
1.8.17