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

static void quit (void)
 
static void halt (bool Confirmed=true)
 
static void reboot (bool Confirmed=true)
 
static void standby (void)
 
void handleExit (void)
 
void confirmHalt (void)
 
void confirmReboot (void)
 
void confirm (int Action)
 
void masterPromptExit (void)
 
void handleExit (void)
 
static void quit (void)
 

Public Member Functions

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

Private Member Functions

 ExitPrompter (const ExitPrompter &)
 

Private Attributes

struct ExitPrompterPrivatem_d {nullptr}
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ExitPrompter() [1/3]

ExitPrompter::ExitPrompter ( )
default

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

◆ ~ExitPrompter() [1/2]

ExitPrompter::~ExitPrompter ( )
default

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

◆ ExitPrompter() [2/3]

ExitPrompter::ExitPrompter ( void  )

◆ ~ExitPrompter() [2/2]

ExitPrompter::~ExitPrompter ( void  )

◆ ExitPrompter() [3/3]

ExitPrompter::ExitPrompter ( const ExitPrompter )
private

Member Function Documentation

◆ quit [1/2]

void ExitPrompter::quit ( void  )
staticslot

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

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

◆ halt

void ExitPrompter::halt ( bool  Confirmed = true)
staticslot

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

Referenced by confirm(), and handleExit().

◆ reboot

void ExitPrompter::reboot ( bool  Confirmed = true)
staticslot

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

Referenced by confirm(), and handleExit().

◆ standby

void ExitPrompter::standby ( void  )
staticslot

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

Referenced by handleExit().

◆ handleExit [1/2]

void ExitPrompter::handleExit ( void  )
slot

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

Referenced by handleExit(), and SetupMenuCallback().

◆ confirmHalt

void ExitPrompter::confirmHalt ( void  )
slot

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

Referenced by handleExit().

◆ confirmReboot

void ExitPrompter::confirmReboot ( void  )
slot

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

Referenced by handleExit().

◆ confirm

void ExitPrompter::confirm ( int  Action)
slot

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

Referenced by confirmHalt(), and confirmReboot().

◆ 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().

◆ handleExit [2/2]

void ExitPrompter::handleExit ( void  )
slot

◆ quit [2/2]

static void ExitPrompter::quit ( void  )
staticslot

Member Data Documentation

◆ m_d

struct ExitPrompterPrivate* ExitPrompter::m_d {nullptr}
private

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

Referenced by ExitPrompter(), masterPromptExit(), and ~ExitPrompter().


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