MythTV  master
screensaver-dbus.h
Go to the documentation of this file.
1 #ifndef MYTH_SCREENSAVER_DBUS_H
2 #define MYTH_SCREENSAVER_DBUS_H
3 
4 #include "screensaver.h"
5 #include "QDBusConnection"
6 
8 {
9  public:
11  ~ScreenSaverDBus() override;
12 
13  void Disable(void) override; // ScreenSaver
14  void Restore(void) override; // ScreenSaver
15  void Reset(void) override; // ScreenSaver
16 
17  bool Asleep(void) override; // ScreenSaver
18  protected:
19  QDBusConnection m_bus;
20  class ScreenSaverDBusPrivate *d {nullptr}; // NOLINT(readability-identifier-naming)
21  QList<ScreenSaverDBusPrivate *> m_dbusPrivateInterfaces;
22 };
23 
24 #endif // MYTH_SCREENSAVER_DBUS_H
25 
screensaver.h
ScreenSaverDBusPrivate
Definition: screensaver-dbus.cpp:44
ScreenSaverDBus::m_bus
QDBusConnection m_bus
Definition: screensaver-dbus.h:19
ScreenSaverDBus::ScreenSaverDBus
ScreenSaverDBus()
Definition: screensaver-dbus.cpp:123
ScreenSaverDBus
Definition: screensaver-dbus.h:7
ScreenSaverDBus::d
class ScreenSaverDBusPrivate * d
Definition: screensaver-dbus.h:20
ScreenSaverDBus::Disable
void Disable(void) override
Definition: screensaver-dbus.cpp:144
ScreenSaverDBus::Asleep
bool Asleep(void) override
Definition: screensaver-dbus.cpp:165
ScreenSaver
Base Class for screensavers.
Definition: screensaver.h:30
ScreenSaverDBus::~ScreenSaverDBus
~ScreenSaverDBus() override
Definition: screensaver-dbus.cpp:135
ScreenSaverDBus::m_dbusPrivateInterfaces
QList< ScreenSaverDBusPrivate * > m_dbusPrivateInterfaces
Definition: screensaver-dbus.h:21
ScreenSaverDBus::Reset
void Reset(void) override
Definition: screensaver-dbus.cpp:160
ScreenSaverDBus::Restore
void Restore(void) override
Definition: screensaver-dbus.cpp:152