MythTV  master
Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
MythScreenSaverControl Class Reference

Controls all instances of the screensaver. More...

#include <mythscreensaver.h>

Inheritance diagram for MythScreenSaverControl:
Inheritance graph
Collaboration diagram for MythScreenSaverControl:
Collaboration graph

Public Slots

bool Asleep ()


void Disable ()
void Restore ()
void Reset ()

Public Member Functions

 MythScreenSaverControl (MythMainWindow *MainWin, MythDisplay *mDisplay)
 ~MythScreenSaverControl () override=default

Private Attributes

std::vector< MythScreenSaver * > m_screenSavers

Detailed Description

Controls all instances of the screensaver.

This constructor is called from the MythMainWindow constructor. Do NOT use the MythMainWindow object here (or in any MythScreenSaver constructor) as it is not complete. Instead listen for the MythMainWindow::signalWindowReady signal.

Definition at line 33 of file mythscreensaver.h.

Constructor & Destructor Documentation

◆ MythScreenSaverControl()

MythScreenSaverControl::MythScreenSaverControl ( MythMainWindow MainWin,
MythDisplay mDisplay 

Definition at line 40 of file mythscreensaver.cpp.

◆ ~MythScreenSaverControl()

MythScreenSaverControl::~MythScreenSaverControl ( )

Member Function Documentation

◆ Disable

void MythScreenSaverControl::Disable ( )

◆ Restore

void MythScreenSaverControl::Restore ( )

◆ Reset

void MythScreenSaverControl::Reset ( )

◆ Asleep

bool MythScreenSaverControl::Asleep ( )

Definition at line 77 of file mythscreensaver.cpp.

Referenced by MythMainWindow::IsScreensaverAsleep().

Member Data Documentation

◆ m_screenSavers

std::vector<MythScreenSaver*> MythScreenSaverControl::m_screenSavers

Definition at line 51 of file mythscreensaver.h.

Referenced by Asleep(), and MythScreenSaverControl().

The documentation for this class was generated from the following files: