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

#include <exitprompt.h>

Inheritance diagram for ExitPrompter:
Inheritance graph
[legend]
Collaboration diagram for ExitPrompter:
Collaboration graph
[legend]

Public Slots

void DoQuit (void)
 
void DoHalt (bool Confirmed=true)
 
void DoReboot (bool Confirmed=true)
 
void DoStandby (void)
 
void DoSuspend (bool Confirmed=true)
 
void HandleExit (void)
 
void ConfirmHalt (void)
 
void ConfirmReboot (void)
 
void ConfirmSuspend (void)
 
void Confirm (MythPower::Feature Action)
 
void masterPromptExit (void)
 
void handleExit (void)
 
static void quit (void)
 

Public Member Functions

 ExitPrompter ()
 
 ~ExitPrompter () override
 
 ExitPrompter (void)
 
 ~ExitPrompter (void) override
 
void customEvent (QEvent *event) override
 

Private Member Functions

 ExitPrompter (const ExitPrompter &)
 

Private Attributes

MythPowerm_power { nullptr }
 
QString m_haltCommand
 
QString m_rebootCommand
 
QString m_suspendCommand
 
struct ExitPrompterPrivatem_d {nullptr}
 

Detailed Description

Definition at line 4 of file mythfrontend/exitprompt.h.

Constructor & Destructor Documentation

◆ ExitPrompter() [1/3]

ExitPrompter::ExitPrompter ( )

Definition at line 15 of file mythfrontend/exitprompt.cpp.

◆ ~ExitPrompter() [1/2]

ExitPrompter::~ExitPrompter ( )
override

Definition at line 23 of file mythfrontend/exitprompt.cpp.

◆ ExitPrompter() [2/3]

ExitPrompter::ExitPrompter ( void  )

◆ ~ExitPrompter() [2/2]

ExitPrompter::~ExitPrompter ( void  )
override

◆ ExitPrompter() [3/3]

ExitPrompter::ExitPrompter ( const ExitPrompter )
private

Member Function Documentation

◆ DoQuit

void ExitPrompter::DoQuit ( void  )
slot

Definition at line 29 of file mythfrontend/exitprompt.cpp.

Referenced by Confirm(), and HandleExit().

◆ DoHalt

void ExitPrompter::DoHalt ( bool  Confirmed = true)
slot

Definition at line 39 of file mythfrontend/exitprompt.cpp.

Referenced by Confirm().

◆ DoReboot

void ExitPrompter::DoReboot ( bool  Confirmed = true)
slot

Definition at line 70 of file mythfrontend/exitprompt.cpp.

Referenced by Confirm().

◆ DoStandby

void ExitPrompter::DoStandby ( void  )
slot

Definition at line 121 of file mythfrontend/exitprompt.cpp.

Referenced by HandleExit().

◆ DoSuspend

void ExitPrompter::DoSuspend ( bool  Confirmed = true)
slot

Definition at line 100 of file mythfrontend/exitprompt.cpp.

Referenced by Confirm().

◆ HandleExit

void ExitPrompter::HandleExit ( void  )
slot

Definition at line 126 of file mythfrontend/exitprompt.cpp.

Referenced by handleExit().

◆ ConfirmHalt

void ExitPrompter::ConfirmHalt ( void  )
slot

Definition at line 34 of file mythfrontend/exitprompt.cpp.

Referenced by HandleExit().

◆ ConfirmReboot

void ExitPrompter::ConfirmReboot ( void  )
slot

Definition at line 65 of file mythfrontend/exitprompt.cpp.

Referenced by HandleExit().

◆ ConfirmSuspend

void ExitPrompter::ConfirmSuspend ( void  )
slot

Definition at line 95 of file mythfrontend/exitprompt.cpp.

Referenced by HandleExit().

◆ Confirm

void ExitPrompter::Confirm ( MythPower::Feature  Action)
slot

Definition at line 233 of file mythfrontend/exitprompt.cpp.

Referenced by ConfirmHalt(), ConfirmReboot(), and ConfirmSuspend().

◆ customEvent()

void ExitPrompter::customEvent ( QEvent *  event)
override

Definition at line 94 of file mythtv-setup/exitprompt.cpp.

◆ masterPromptExit

void ExitPrompter::masterPromptExit ( void  )
slot

Definition at line 35 of file mythtv-setup/exitprompt.cpp.

Referenced by customEvent(), and handleExit().

◆ handleExit

void ExitPrompter::handleExit ( void  )
slot

Definition at line 61 of file mythtv-setup/exitprompt.cpp.

Referenced by SetupMenuCallback().

◆ quit

void ExitPrompter::quit ( void  )
staticslot

Definition at line 121 of file mythtv-setup/exitprompt.cpp.

Referenced by customEvent(), handleExit(), and masterPromptExit().

Member Data Documentation

◆ m_power

MythPower* ExitPrompter::m_power { nullptr }
private

Definition at line 25 of file mythfrontend/exitprompt.h.

Referenced by DoHalt(), DoReboot(), DoSuspend(), HandleExit(), and ~ExitPrompter().

◆ m_haltCommand

QString ExitPrompter::m_haltCommand
private

Definition at line 26 of file mythfrontend/exitprompt.h.

Referenced by DoHalt(), ExitPrompter(), and HandleExit().

◆ m_rebootCommand

QString ExitPrompter::m_rebootCommand
private

Definition at line 27 of file mythfrontend/exitprompt.h.

Referenced by DoReboot(), ExitPrompter(), and HandleExit().

◆ m_suspendCommand

QString ExitPrompter::m_suspendCommand
private

Definition at line 28 of file mythfrontend/exitprompt.h.

Referenced by DoSuspend(), ExitPrompter(), and HandleExit().

◆ m_d

struct ExitPrompterPrivate* ExitPrompter::m_d {nullptr}
private

Definition at line 27 of file mythtv-setup/exitprompt.h.

Referenced by handleExit(), and masterPromptExit().


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