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
10class 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
bool keyPressEvent(QKeyEvent *e) override
Key event handler.
virtual bool Create(void)
#define MPLUGIN_PUBLIC