MythTV  master
screensaver-x11.h
Go to the documentation of this file.
1 #ifndef MYTH_SCREENSAVER_X11_H
2 #define MYTH_SCREENSAVER_X11_H
3 
4 #include <QObject>
5 
6 #include "screensaver.h"
7 
8 class ScreenSaverX11 : public QObject, public ScreenSaver
9 {
10  Q_OBJECT
11 
12  public:
14  ~ScreenSaverX11() override;
15 
16  void Disable(void) override; // ScreenSaver
17  void Restore(void) override; // ScreenSaver
18  void Reset(void) override; // ScreenSaver
19 
20  bool Asleep(void) override; // ScreenSaver
21 
22  public slots:
23  void resetSlot();
24 
25  protected:
26  class ScreenSaverX11Private *d {nullptr}; // NOLINT(readability-identifier-naming)
27 };
28 
29 #endif // MYTH_SCREENSAVER_X11_H
30 
ScreenSaverX11::resetSlot
void resetSlot()
Definition: screensaver-x11.cpp:323
screensaver.h
ScreenSaverX11::Asleep
bool Asleep(void) override
Definition: screensaver-x11.cpp:306
slots
unsigned int slots[4]
Definition: element.cpp:38
ScreenSaverX11::ScreenSaverX11
ScreenSaverX11()
Definition: screensaver-x11.cpp:233
ScreenSaverX11::Restore
void Restore(void) override
Definition: screensaver-x11.cpp:264
ScreenSaverX11
Definition: screensaver-x11.h:9
ScreenSaverX11::d
class ScreenSaverX11Private * d
Definition: screensaver-x11.h:26
ScreenSaverX11::Reset
void Reset(void) override
Definition: screensaver-x11.cpp:280
ScreenSaverX11::~ScreenSaverX11
~ScreenSaverX11() override
Definition: screensaver-x11.cpp:238
ScreenSaver
Base Class for screensavers.
Definition: screensaver.h:31
ScreenSaverX11Private
Definition: screensaver-x11.cpp:27
ScreenSaverX11::Disable
void Disable(void) override
Definition: screensaver-x11.cpp:247