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
Collaboration diagram for DialogCompletionEvent:
Collaboration graph

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 

Definition at line 40 of file mythdialogbox.h.

Member Function Documentation

◆ GetId()

QString DialogCompletionEvent::GetId ( )

◆ GetResult()

int DialogCompletionEvent::GetResult ( )

◆ GetResultText()

QString DialogCompletionEvent::GetResultText ( )

◆ GetData()

QVariant DialogCompletionEvent::GetData ( void  )

Member Data Documentation

◆ kEventType

QEvent::Type DialogCompletionEvent::kEventType

◆ m_id

QString DialogCompletionEvent::m_id

Definition at line 53 of file mythdialogbox.h.

◆ m_result

int DialogCompletionEvent::m_result

Definition at line 54 of file mythdialogbox.h.

◆ m_resultText

QString DialogCompletionEvent::m_resultText

Definition at line 55 of file mythdialogbox.h.

◆ m_resultData

QVariant DialogCompletionEvent::m_resultData

Definition at line 56 of file mythdialogbox.h.

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