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 (ScreenSaverX11 *outer)
 
 ~ScreenSaverX11Private ()
 
bool IsScreenSaverRunning (void) const
 
bool IsDPMSEnabled (void) const
 
void StopTimer (void)
 
void StartTimer (void)
 
void ResetTimer (void)
 
bool DeactivatedDPMS (void) const
 
void DisableDPMS (void)
 
void RestoreDPMS (void)
 
void SaveScreenSaver (void)
 
void RestoreScreenSaver (void)
 
void ResetScreenSaver (void)
 

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)}
 
int m_timeoutInterval {-1}
 
QTimer * m_resetTimer {nullptr}
 
QDateTime m_lastDeactivated
 
ScreenSaverState m_state
 
MythXDisplaym_display {nullptr}
 

Friends

class ScreenSaverX11
 

Detailed Description

Definition at line 26 of file screensaver-x11.cpp.

Constructor & Destructor Documentation

◆ ScreenSaverX11Private()

ScreenSaverX11Private::ScreenSaverX11Private ( ScreenSaverX11 outer)
inlineexplicit

Definition at line 31 of file screensaver-x11.cpp.

◆ ~ScreenSaverX11Private()

ScreenSaverX11Private::~ScreenSaverX11Private ( )
inline

Definition at line 86 of file screensaver-x11.cpp.

Member Function Documentation

◆ IsScreenSaverRunning()

bool ScreenSaverX11Private::IsScreenSaverRunning ( void  ) const
inline

◆ IsDPMSEnabled()

bool ScreenSaverX11Private::IsDPMSEnabled ( void  ) const
inline

Definition at line 97 of file screensaver-x11.cpp.

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

◆ StopTimer()

void ScreenSaverX11Private::StopTimer ( void  )
inline

Definition at line 99 of file screensaver-x11.cpp.

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

◆ StartTimer()

void ScreenSaverX11Private::StartTimer ( void  )
inline

Definition at line 106 of file screensaver-x11.cpp.

Referenced by ResetTimer().

◆ ResetTimer()

void ScreenSaverX11Private::ResetTimer ( void  )
inline

Definition at line 113 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Disable().

◆ DeactivatedDPMS()

bool ScreenSaverX11Private::DeactivatedDPMS ( void  ) const
inline

Definition at line 132 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Asleep(), and ScreenSaverX11::~ScreenSaverX11().

◆ DisableDPMS()

void ScreenSaverX11Private::DisableDPMS ( void  )
inline

Definition at line 137 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Disable().

◆ RestoreDPMS()

void ScreenSaverX11Private::RestoreDPMS ( void  )
inline

Definition at line 149 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Restore().

◆ SaveScreenSaver()

void ScreenSaverX11Private::SaveScreenSaver ( void  )
inline

Definition at line 161 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Disable().

◆ RestoreScreenSaver()

void ScreenSaverX11Private::RestoreScreenSaver ( void  )
inline

Definition at line 172 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::Restore().

◆ ResetScreenSaver()

void ScreenSaverX11Private::ResetScreenSaver ( void  )
inline

Definition at line 184 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11::resetSlot().

Friends And Related Function Documentation

◆ ScreenSaverX11

friend class ScreenSaverX11
friend

Definition at line 28 of file screensaver-x11.cpp.

Referenced by ScreenSaverControl::ScreenSaverControl().

Member Data Documentation

◆ m_dpmsaware

bool ScreenSaverX11Private::m_dpmsaware {false}
private

Definition at line 219 of file screensaver-x11.cpp.

Referenced by ScreenSaverX11Private().

◆ m_dpmsdeactivated

bool ScreenSaverX11Private::m_dpmsdeactivated {false}
private

true if we disabled DPMS

Definition at line 220 of file screensaver-x11.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 222 of file screensaver-x11.cpp.

Referenced by IsDPMSEnabled(), and ScreenSaverX11Private().

◆ m_timeoutInterval

int ScreenSaverX11Private::m_timeoutInterval {-1}
private

Definition at line 224 of file screensaver-x11.cpp.

Referenced by ResetTimer(), and StartTimer().

◆ m_resetTimer

QTimer* ScreenSaverX11Private::m_resetTimer {nullptr}
private

Definition at line 225 of file screensaver-x11.cpp.

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

◆ m_lastDeactivated

QDateTime ScreenSaverX11Private::m_lastDeactivated
private

Definition at line 227 of file screensaver-x11.cpp.

Referenced by ResetScreenSaver().

◆ m_state

ScreenSaverState ScreenSaverX11Private::m_state
private

Definition at line 229 of file screensaver-x11.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: