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 (const 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 37 of file mythdialogbox.h.

Constructor & Destructor Documentation

◆ DialogCompletionEvent()

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

Definition at line 40 of file mythdialogbox.h.

Member Function Documentation

◆ GetId()

QString DialogCompletionEvent::GetId ( )
inline

◆ GetResult()

int DialogCompletionEvent::GetResult ( )
inline

◆ GetResultText()

QString DialogCompletionEvent::GetResultText ( )
inline

◆ GetData()

QVariant DialogCompletionEvent::GetData ( void  )
inline

Member Data Documentation

◆ kEventType

QEvent::Type DialogCompletionEvent::kEventType
static

◆ m_id

QString DialogCompletionEvent::m_id
private

Definition at line 53 of file mythdialogbox.h.

◆ m_result

int DialogCompletionEvent::m_result
private

Definition at line 54 of file mythdialogbox.h.

◆ m_resultText

QString DialogCompletionEvent::m_resultText
private

Definition at line 55 of file mythdialogbox.h.

◆ m_resultData

QVariant DialogCompletionEvent::m_resultData
private

Definition at line 56 of file mythdialogbox.h.


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