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
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 50 of file mythdialogbox.h.

Referenced by ExitPrompter::customEvent(), EditRomInfoDialog::customEvent(), ChannelEditor::customEvent(), StorageGroupEditor::customEvent(), StatusBox::customEvent(), CustomEdit::customEvent(), ScreenWizard::customEvent(), ScheduleCommon::customEvent(), ChannelRecPriority::customEvent(), EditMetadataDialog::customEvent(), LyricsView::customEvent(), SearchView::customEvent(), MythNews::customEvent(), StreamView::customEvent(), PrevRecordedList::customEvent(), ImportIconsWizard::customEvent(), GalleryThumbView::customEvent(), ViewScheduled::customEvent(), GallerySlideView::customEvent(), ProgFinder::customEvent(), ProgLister::customEvent(), BackendSelection::customEvent(), GameUI::customEvent(), MusicCommon::customEvent(), IconView::customEvent(), MythControls::customEvent(), ImportMusicDialog::customEvent(), ProgramRecPriority::customEvent(), ZMLivePlayer::customEvent(), ScreenSetup::customEvent(), MythThemedMenu::customEvent(), PlaylistEditorView::customEvent(), RSSEditPopup::customEvent(), SmartPlaylistEditor::customEvent(), MythWebView::customEvent(), Ripper::customEvent(), GameHandler::customEvent(), PlaybackBox::customEvent(), BurnMenu::customEvent(), VideoDialog::customEvent(), EditAlbumartDialog::customEvent(), GuideGrid::customEvent(), ScheduleEditor::customEvent(), RipStatus::customEvent(), StoreOptEditor::customEvent(), TV::customEvent(), MetadataOptions::customEvent(), and StandardSettingDialog::customEvent().

◆ 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: