MythTV  master
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
DialogCompletionEvent Class Reference

Event dispatched from MythUI modal dialogs to a listening class containing a result of some form. More...

#include <mythdialogbox.h>

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

Public Member Functions

 DialogCompletionEvent (QString id, int result, QString text, QVariant data)
 
QString GetId ()
 
int GetResult ()
 
QString GetResultText ()
 
QVariant GetData ()
 

Static Public Attributes

static Type kEventType
 

Private Attributes

QString m_id
 
int m_result
 
QString m_resultText
 
QVariant m_resultData
 

Detailed Description

Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.

The result may be in the format of an int, text or a void pointer dependant on the dialog type and information it is conveying.

Definition at line 41 of file mythdialogbox.h.

Constructor & Destructor Documentation

◆ DialogCompletionEvent()

DialogCompletionEvent::DialogCompletionEvent ( QString  id,
int  result,
QString  text,
QVariant  data 
)
inline

Definition at line 44 of file mythdialogbox.h.

Member Function Documentation

◆ GetId()

QString DialogCompletionEvent::GetId ( )
inline

Definition at line 51 of file mythdialogbox.h.

◆ GetResult()

int DialogCompletionEvent::GetResult ( )
inline

Definition at line 52 of file mythdialogbox.h.

Referenced by MythUIComboBoxSetting::resultEdit().

◆ GetResultText()

QString DialogCompletionEvent::GetResultText ( )
inline

◆ GetData()

QVariant DialogCompletionEvent::GetData ( void  )
inline

Definition at line 54 of file mythdialogbox.h.

Referenced by MythUIComboBoxSetting::resultEdit().

Member Data Documentation

◆ kEventType

QEvent::Type DialogCompletionEvent::kEventType
static

◆ m_id

QString DialogCompletionEvent::m_id
private

Definition at line 59 of file mythdialogbox.h.

◆ m_result

int DialogCompletionEvent::m_result
private

Definition at line 60 of file mythdialogbox.h.

◆ m_resultText

QString DialogCompletionEvent::m_resultText
private

Definition at line 61 of file mythdialogbox.h.

◆ m_resultData

QVariant DialogCompletionEvent::m_resultData
private

Definition at line 62 of file mythdialogbox.h.


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