MythTV  master
miniplayer.h
Go to the documentation of this file.
1 #ifndef MINIPLAYER_H_
2 #define MINIPLAYER_H_
3 
4 // MythTV
7 
8 #include "musiccommon.h"
9 
10 class QTimer;
11 
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