MythTV  master
miniplayer.h
Go to the documentation of this file.
1 #ifndef MINIPLAYER_H_
2 #define MINIPLAYER_H_
3 
4 #include <mythscreentype.h>
5 
6 #include "musiccommon.h"
7 
8 class QTimer;
9 
11 {
12  Q_OBJECT
13 
14  public:
15  explicit MiniPlayer(MythScreenStack *parent);
16  ~MiniPlayer() override;
17 
18  bool Create(void) override; // MythScreenType
19  bool keyPressEvent(QKeyEvent *event) override; // MusicCommon
20 
21  public slots:
22  void timerTimeout(void);
23 
24  private:
25  QTimer *m_displayTimer {nullptr};
26 };
27 
28 #endif
MPUBLIC
#define MPUBLIC
Definition: mythexp.h:10
MusicCommon::keyPressEvent
bool keyPressEvent(QKeyEvent *e) override
Key event handler.
Definition: musiccommon.cpp:580
MythScreenStack
Definition: mythscreenstack.h:16
MythScreenType::Create
virtual bool Create(void)
Definition: mythscreentype.cpp:282
musiccommon.h
MiniPlayer
Definition: miniplayer.h:11
mythscreentype.h
MusicCommon
Definition: musiccommon.h:48