MythTV  master
Classes | Public Slots | Public Member Functions | Private Attributes | List of all members
CardInput Class Reference

#include <videosource.h>

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

Classes

class  ID
 

Public Slots

void CreateNewInputGroup ()
 
void channelScanner ()
 
void sourceFetch ()
 
void SetSourceID (const QString &sourceid)
 
void CreateNewInputGroupSlot (const QString &name)
 
- Public Slots inherited from StandardSetting
virtual void setEnabled (bool enabled)
 
void setVisible (bool visible)
 
virtual void setValue (const QString &newValue)
 
virtual void setValue (int newValue)
 
virtual void childChanged (StandardSetting *)
 

Public Member Functions

 CardInput (const QString &cardtype, const QString &device, int cardid)
 
 ~CardInput () override
 
int getInputID (void) const
 
void loadByID (int id)
 
void loadByInput (int cardid, const QString &inputname)
 
QString getSourceName (void) const
 
void Save (void) override
 
- Public Member Functions inherited from GroupSetting
 GroupSetting ()=default
 
void edit (MythScreenType *screen) override
 
void resultEdit (DialogCompletionEvent *) override
 
virtual void applyChange ()
 
void updateButton (MythUIButtonListItem *item) override
 This method is called whenever the UI need to reflect a change Reimplement this If you widget need a custom look. More...
 
virtual bool canDelete (void)
 
virtual void deleteEntry (void)
 
- Public Member Functions inherited from StandardSetting
virtual void setLabel (QString str)
 
QString getLabel (void) const
 
virtual void setHelpText (const QString &str)
 
QString getHelpText (void) const
 
virtual void setName (const QString &name)
 
QString getName (void) const
 
StandardSettingbyName (const QString &name)
 
bool isVisible (void) const
 
bool isEnabled () const
 
bool haveChanged ()
 Return true if the setting have changed or any of its children. More...
 
void setChanged (bool changed)
 
StandardSettinggetParent () const
 
virtual QString getValue (void) const
 
void SetDBValue (const QString &val) override
 
QString GetDBValue (void) const override
 
MythUIButtonListItemcreateButton (MythUIButtonList *list)
 
virtual void addChild (StandardSetting *child)
 
virtual void removeChild (StandardSetting *child)
 
virtual QList< StandardSetting * > * getSubSettings ()
 
virtual bool haveSubSettings ()
 
virtual void clearSettings ()
 
void clearTargetedSettings (const QString &value)
 
virtual void Load (void)
 
virtual void Open (void)
 
virtual void Close (void)
 
StorageGetStorage (void) const
 
void addTargetedChild (const QString &value, StandardSetting *setting)
 
void addTargetedChildren (const QString &value, std::initializer_list< StandardSetting * > settings)
 
void removeTargetedChild (const QString &value, StandardSetting *child)
 
virtual bool keyPressEvent (QKeyEvent *event)
 
void MoveToThread (QThread *thread)
 
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()=default
 

Private Attributes

IDm_id {nullptr}
 
InputNamem_inputName {nullptr}
 
SourceIDm_sourceId {nullptr}
 
StartingChannelm_startChan {nullptr}
 
ButtonStandardSettingm_scan {nullptr}
 
ButtonStandardSettingm_srcFetch {nullptr}
 
DiSEqCDevSettingsm_externalInputSettings {nullptr}
 
InputGroupm_inputGrp0 {nullptr}
 
InputGroupm_inputGrp1 {nullptr}
 
MythUISpinBoxSettingm_instanceCount {nullptr}
 
MythUICheckBoxSettingm_schedGroup {nullptr}
 

Additional Inherited Members

- Signals inherited from StandardSetting
void valueChanged (const QString &newValue)
 
void valueChanged (StandardSetting *setting)
 
void ShouldRedraw (StandardSetting *setting)
 
void settingsChanged (StandardSetting *selectedSetting=nullptr)
 
void ChangeSaved ()
 
void helpTextChanged (const QString &newValue)
 
- Protected Member Functions inherited from StandardSetting
 StandardSetting (Storage *_storage=nullptr)
 
 ~StandardSetting () override
 
void setParent (StandardSetting *parent)
 
- Protected Attributes inherited from StandardSetting
QString m_settingValue
 
bool m_enabled {true}
 
QString m_label
 
QString m_helptext
 
QString m_name
 
bool m_visible {true}
 

Detailed Description

Definition at line 796 of file videosource.h.

Constructor & Destructor Documentation

◆ CardInput()

CardInput::CardInput ( const QString &  cardtype,
const QString &  device,
int  cardid 
)

Definition at line 3094 of file videosource.cpp.

◆ ~CardInput()

CardInput::~CardInput ( )
override

Definition at line 3194 of file videosource.cpp.

Member Function Documentation

◆ getInputID()

int CardInput::getInputID ( void  ) const
inline

◆ loadByID()

void CardInput::loadByID ( int  id)

Definition at line 3391 of file videosource.cpp.

Referenced by loadByInput().

◆ loadByInput()

void CardInput::loadByInput ( int  cardid,
const QString &  inputname 
)

Definition at line 3398 of file videosource.cpp.

◆ getSourceName()

QString CardInput::getSourceName ( void  ) const

Definition at line 3213 of file videosource.cpp.

◆ Save()

void CardInput::Save ( void  )
overridevirtual

Reimplemented from StandardSetting.

Definition at line 3412 of file videosource.cpp.

Referenced by channelScanner(), and sourceFetch().

◆ CreateNewInputGroup

void CardInput::CreateNewInputGroup ( void  )
slot

Definition at line 3218 of file videosource.cpp.

Referenced by CardInput().

◆ channelScanner

void CardInput::channelScanner ( void  )
slot

Definition at line 3282 of file videosource.cpp.

Referenced by CardInput().

◆ sourceFetch

void CardInput::sourceFetch ( void  )
slot

Definition at line 3330 of file videosource.cpp.

Referenced by CardInput().

◆ SetSourceID

void CardInput::SetSourceID ( const QString &  sourceid)
slot

Definition at line 3203 of file videosource.cpp.

Referenced by CardInput().

◆ CreateNewInputGroupSlot

void CardInput::CreateNewInputGroupSlot ( const QString &  name)
slot

Definition at line 3237 of file videosource.cpp.

Referenced by CreateNewInputGroup().

Member Data Documentation

◆ m_id

ID* CardInput::m_id {nullptr}
private

Definition at line 828 of file videosource.h.

Referenced by CardInput(), channelScanner(), loadByID(), Save(), SetSourceID(), and sourceFetch().

◆ m_inputName

InputName* CardInput::m_inputName {nullptr}
private

Definition at line 829 of file videosource.h.

Referenced by CardInput(), and channelScanner().

◆ m_sourceId

SourceID* CardInput::m_sourceId {nullptr}
private

Definition at line 830 of file videosource.h.

Referenced by CardInput(), channelScanner(), getSourceName(), and sourceFetch().

◆ m_startChan

StartingChannel* CardInput::m_startChan {nullptr}
private

Definition at line 831 of file videosource.h.

Referenced by CardInput(), channelScanner(), and sourceFetch().

◆ m_scan

ButtonStandardSetting* CardInput::m_scan {nullptr}
private

Definition at line 832 of file videosource.h.

Referenced by CardInput(), and SetSourceID().

◆ m_srcFetch

ButtonStandardSetting* CardInput::m_srcFetch {nullptr}
private

Definition at line 833 of file videosource.h.

Referenced by CardInput(), and SetSourceID().

◆ m_externalInputSettings

DiSEqCDevSettings* CardInput::m_externalInputSettings {nullptr}
private

Definition at line 834 of file videosource.h.

Referenced by CardInput(), loadByID(), Save(), and ~CardInput().

◆ m_inputGrp0

InputGroup* CardInput::m_inputGrp0 {nullptr}
private

Definition at line 835 of file videosource.h.

Referenced by CardInput(), CreateNewInputGroup(), and CreateNewInputGroupSlot().

◆ m_inputGrp1

InputGroup* CardInput::m_inputGrp1 {nullptr}
private

Definition at line 836 of file videosource.h.

Referenced by CardInput(), CreateNewInputGroup(), and CreateNewInputGroupSlot().

◆ m_instanceCount

MythUISpinBoxSetting* CardInput::m_instanceCount {nullptr}
private

Definition at line 837 of file videosource.h.

Referenced by CardInput(), and Save().

◆ m_schedGroup

MythUICheckBoxSetting* CardInput::m_schedGroup {nullptr}
private

Definition at line 838 of file videosource.h.

Referenced by CardInput().


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