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 <libmythui/mythscreensaver.h>

Inheritance diagram for MythScreenSaverControl:
[legend]
Collaboration diagram for MythScreenSaverControl:
[legend]

Public Slots

bool Asleep ()
 

Signals

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.

Note
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 ( )
overridedefault

Member Function Documentation

◆ Disable

void MythScreenSaverControl::Disable ( )
signal

◆ Restore

void MythScreenSaverControl::Restore ( )
signal

◆ Reset

void MythScreenSaverControl::Reset ( )
signal

◆ Asleep

bool MythScreenSaverControl::Asleep ( )
slot

Definition at line 77 of file mythscreensaver.cpp.

Referenced by MythMainWindow::IsScreensaverAsleep().

Member Data Documentation

◆ m_screenSavers

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

Definition at line 51 of file mythscreensaver.h.

Referenced by Asleep(), and MythScreenSaverControl().


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