MythTV  master
Classes | Public Member Functions | Private Attributes | Friends | List of all members
ScreenSaverX11Private Class Reference
Collaboration diagram for ScreenSaverX11Private:
Collaboration graph
[legend]

Classes

class  ScreenSaverState
 

Public Member Functions

 ScreenSaverX11Private (MythScreenSaverX11 *Parent)
 
 ~ScreenSaverX11Private ()
 
bool IsScreenSaverRunning () const
 
bool IsDPMSEnabled () const
 
void StopTimer ()
 
void StartTimer ()
 
void ResetTimer ()
 
bool DeactivatedDPMS () const
 
void DisableDPMS ()
 
void RestoreDPMS ()
 
void SaveScreenSaver ()
 
void RestoreScreenSaver ()
 
void ResetScreenSaver ()
 

Private Attributes

bool m_dpmsaware {false}
 
bool m_dpmsdeactivated {false}
 true if we disabled DPMS More...
 
bool m_xscreensaverRunning {false}
 
BOOL m_dpmsenabled {static_cast<BOOL>(false)}
 
std::chrono::seconds m_timeoutInterval {-1s}
 
QTimer * m_resetTimer {nullptr}
 
QDateTime m_lastDeactivated
 
ScreenSaverState m_state
 
MythXDisplaym_display {nullptr}
 

Friends

class MythScreenSaverX11
 

Detailed Description

Definition at line 21 of file mythscreensaverx11.cpp.

Constructor & Destructor Documentation

◆ ScreenSaverX11Private()

ScreenSaverX11Private::ScreenSaverX11Private ( MythScreenSaverX11 Parent)
inlineexplicit

Definition at line 26 of file mythscreensaverx11.cpp.

◆ ~ScreenSaverX11Private()

ScreenSaverX11Private::~ScreenSaverX11Private ( )
inline

Definition at line 75 of file mythscreensaverx11.cpp.

Member Function Documentation

◆ IsScreenSaverRunning()

bool ScreenSaverX11Private::IsScreenSaverRunning ( ) const
inline

◆ IsDPMSEnabled()

bool ScreenSaverX11Private::IsDPMSEnabled ( ) const
inline

Definition at line 86 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Asleep(), and DisableDPMS().

◆ StopTimer()

void ScreenSaverX11Private::StopTimer ( )
inline

Definition at line 88 of file mythscreensaverx11.cpp.

Referenced by ResetTimer(), and MythScreenSaverX11::Restore().

◆ StartTimer()

void ScreenSaverX11Private::StartTimer ( )
inline

Definition at line 95 of file mythscreensaverx11.cpp.

Referenced by ResetTimer().

◆ ResetTimer()

void ScreenSaverX11Private::ResetTimer ( )
inline

Definition at line 102 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Disable().

◆ DeactivatedDPMS()

bool ScreenSaverX11Private::DeactivatedDPMS ( ) const
inline

◆ DisableDPMS()

void ScreenSaverX11Private::DisableDPMS ( )
inline

Definition at line 120 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Disable().

◆ RestoreDPMS()

void ScreenSaverX11Private::RestoreDPMS ( )
inline

Definition at line 131 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Restore().

◆ SaveScreenSaver()

void ScreenSaverX11Private::SaveScreenSaver ( )
inline

Definition at line 142 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Disable().

◆ RestoreScreenSaver()

void ScreenSaverX11Private::RestoreScreenSaver ( )
inline

Definition at line 153 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::Restore().

◆ ResetScreenSaver()

void ScreenSaverX11Private::ResetScreenSaver ( )
inline

Definition at line 172 of file mythscreensaverx11.cpp.

Referenced by MythScreenSaverX11::ResetSlot().

Friends And Related Function Documentation

◆ MythScreenSaverX11

friend class MythScreenSaverX11
friend

Definition at line 23 of file mythscreensaverx11.cpp.

Member Data Documentation

◆ m_dpmsaware

bool ScreenSaverX11Private::m_dpmsaware {false}
private

Definition at line 205 of file mythscreensaverx11.cpp.

Referenced by ScreenSaverX11Private().

◆ m_dpmsdeactivated

bool ScreenSaverX11Private::m_dpmsdeactivated {false}
private

true if we disabled DPMS

Definition at line 206 of file mythscreensaverx11.cpp.

Referenced by DeactivatedDPMS(), DisableDPMS(), and RestoreDPMS().

◆ m_xscreensaverRunning

bool ScreenSaverX11Private::m_xscreensaverRunning {false}
private

◆ m_dpmsenabled

BOOL ScreenSaverX11Private::m_dpmsenabled {static_cast<BOOL>(false)}
private

Definition at line 208 of file mythscreensaverx11.cpp.

Referenced by IsDPMSEnabled(), and ScreenSaverX11Private().

◆ m_timeoutInterval

std::chrono::seconds ScreenSaverX11Private::m_timeoutInterval {-1s}
private

Definition at line 210 of file mythscreensaverx11.cpp.

Referenced by ResetTimer(), and StartTimer().

◆ m_resetTimer

QTimer* ScreenSaverX11Private::m_resetTimer {nullptr}
private

Definition at line 211 of file mythscreensaverx11.cpp.

Referenced by ScreenSaverX11Private(), StartTimer(), and StopTimer().

◆ m_lastDeactivated

QDateTime ScreenSaverX11Private::m_lastDeactivated
private

Definition at line 213 of file mythscreensaverx11.cpp.

Referenced by ResetScreenSaver().

◆ m_state

ScreenSaverState ScreenSaverX11Private::m_state
private

Definition at line 215 of file mythscreensaverx11.cpp.

Referenced by RestoreScreenSaver(), and SaveScreenSaver().

◆ m_display

MythXDisplay* ScreenSaverX11Private::m_display {nullptr}
private

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