BackendSelect Class Reference

#include <backendselect.h>

Inheritance diagram for BackendSelect:

MythDialog

List of all members.


Detailed Description

Classes to Prompt user for a master backend.

Author:
Originally based on masterselection.cpp/h by David Blain.

Definition at line 32 of file backendselect.h.


Public Slots

void Accept (void)
 Linked to the OK button.
void Manual (void)
 Linked to 'Configure Manually' button.

Public Member Functions

 BackendSelect (MythMainWindow *parent, DatabaseParams *params)
virtual ~BackendSelect ()
void customEvent (QCustomEvent *e)

Public Attributes

QString m_PIN
QString m_USN

Protected Member Functions

void AddItem (DeviceLocation *dev)
bool Connect (DeviceLocation *dev)
 Attempt UPnP connection to a backend device, get its DB details.
void CreateUI (void)
void FillListBox (void)
void RemoveItem (QString URN)

Protected Attributes

DatabaseParamsm_DBparams
ItemMap m_devices
MythMainWindowm_parent
MythListBoxm_backends

Constructor & Destructor Documentation

BackendSelect::BackendSelect ( MythMainWindow parent,
DatabaseParams params 
)

Definition at line 15 of file backendselect.cpp.

BackendSelect::~BackendSelect (  )  [virtual]

Definition at line 31 of file backendselect.cpp.


Member Function Documentation

void BackendSelect::customEvent ( QCustomEvent *  e  ) 

Definition at line 188 of file backendselect.cpp.

void BackendSelect::Accept ( void   )  [slot]

Linked to the OK button.

Definition at line 47 of file backendselect.cpp.

Referenced by CreateUI().

void BackendSelect::Manual ( void   )  [slot]

Linked to 'Configure Manually' button.

Definition at line 262 of file backendselect.cpp.

Referenced by CreateUI().

void BackendSelect::AddItem ( DeviceLocation dev  )  [protected]

Definition at line 65 of file backendselect.cpp.

Referenced by customEvent(), and FillListBox().

bool BackendSelect::Connect ( DeviceLocation dev  )  [protected]

Attempt UPnP connection to a backend device, get its DB details.

Will loop until a valid PIN is entered.

Definition at line 98 of file backendselect.cpp.

Referenced by Accept().

void BackendSelect::CreateUI ( void   )  [protected]

Definition at line 149 of file backendselect.cpp.

Referenced by BackendSelect().

void BackendSelect::FillListBox ( void   )  [protected]

Definition at line 223 of file backendselect.cpp.

Referenced by BackendSelect().

void BackendSelect::RemoveItem ( QString  URN  )  [protected]

Definition at line 267 of file backendselect.cpp.

Referenced by customEvent().


Member Data Documentation

Definition at line 42 of file backendselect.h.

Referenced by MythContextPrivate::ChooseBackend(), and Connect().

Definition at line 43 of file backendselect.h.

Referenced by MythContextPrivate::ChooseBackend(), and Connect().

Definition at line 61 of file backendselect.h.

Referenced by BackendSelect(), and Connect().

Definition at line 62 of file backendselect.h.

Referenced by AddItem(), RemoveItem(), and ~BackendSelect().

Reimplemented from MythDialog.

Definition at line 63 of file backendselect.h.

Referenced by BackendSelect(), and Connect().

Definition at line 64 of file backendselect.h.

Referenced by Accept(), AddItem(), BackendSelect(), Connect(), and CreateUI().


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

Generated on Sat Dec 18 05:15:59 2010 for MythTV by  doxygen 1.5.5