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 ()
 
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 *)
 
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 &)
 
void valueChanged (StandardSetting *)
 
void ShouldRedraw (StandardSetting *)
 
void settingsChanged (StandardSetting *selectedSetting=nullptr)
 
void ChangeSaved ()
 
- Protected Member Functions inherited from StandardSetting
 StandardSetting (Storage *_storage=nullptr)
 
virtual ~StandardSetting ()
 
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 779 of file videosource.h.

Constructor & Destructor Documentation

◆ CardInput()

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

Definition at line 2995 of file videosource.cpp.

◆ ~CardInput()

CardInput::~CardInput ( )

Definition at line 3095 of file videosource.cpp.

Member Function Documentation

◆ getInputID()

int CardInput::getInputID ( void  ) const
inline

◆ loadByID()

void CardInput::loadByID ( int  id)

Definition at line 3293 of file videosource.cpp.

Referenced by CardInputEditor::Load(), and loadByInput().

◆ loadByInput()

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

Definition at line 3300 of file videosource.cpp.

◆ getSourceName()

QString CardInput::getSourceName ( void  ) const

Definition at line 3114 of file videosource.cpp.

Referenced by CardInputEditor::Load().

◆ Save()

void CardInput::Save ( void  )
overridevirtual

Reimplemented from StandardSetting.

Definition at line 3314 of file videosource.cpp.

Referenced by channelScanner(), and sourceFetch().

◆ CreateNewInputGroup

void CardInput::CreateNewInputGroup ( void  )
slot

Definition at line 3119 of file videosource.cpp.

Referenced by CardInput().

◆ channelScanner

void CardInput::channelScanner ( void  )
slot

Definition at line 3183 of file videosource.cpp.

Referenced by CardInput().

◆ sourceFetch

void CardInput::sourceFetch ( void  )
slot

Definition at line 3232 of file videosource.cpp.

Referenced by CardInput().

◆ SetSourceID

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

Definition at line 3104 of file videosource.cpp.

Referenced by CardInput().

◆ CreateNewInputGroupSlot

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

Definition at line 3138 of file videosource.cpp.

Referenced by CreateNewInputGroup().

Member Data Documentation

◆ m_id

ID* CardInput::m_id {nullptr}
private

Definition at line 811 of file videosource.h.

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

◆ m_inputName

InputName* CardInput::m_inputName {nullptr}
private

Definition at line 812 of file videosource.h.

Referenced by CardInput(), and channelScanner().

◆ m_sourceId

SourceID* CardInput::m_sourceId {nullptr}
private

Definition at line 813 of file videosource.h.

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

◆ m_startChan

StartingChannel* CardInput::m_startChan {nullptr}
private

Definition at line 814 of file videosource.h.

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

◆ m_scan

ButtonStandardSetting* CardInput::m_scan {nullptr}
private

Definition at line 815 of file videosource.h.

Referenced by CardInput(), and SetSourceID().

◆ m_srcFetch

ButtonStandardSetting* CardInput::m_srcFetch {nullptr}
private

Definition at line 816 of file videosource.h.

Referenced by CardInput(), and SetSourceID().

◆ m_externalInputSettings

DiSEqCDevSettings* CardInput::m_externalInputSettings {nullptr}
private

Definition at line 817 of file videosource.h.

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

◆ m_inputGrp0

InputGroup* CardInput::m_inputGrp0 {nullptr}
private

Definition at line 818 of file videosource.h.

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

◆ m_inputGrp1

InputGroup* CardInput::m_inputGrp1 {nullptr}
private

Definition at line 819 of file videosource.h.

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

◆ m_instanceCount

MythUISpinBoxSetting* CardInput::m_instanceCount {nullptr}
private

Definition at line 820 of file videosource.h.

Referenced by CardInput(), and Save().

◆ m_schedGroup

MythUICheckBoxSetting* CardInput::m_schedGroup {nullptr}
private

Definition at line 821 of file videosource.h.

Referenced by CardInput().


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