MythTV  master
Public Member Functions | Protected Slots | Protected Attributes | List of all members
ScanWizard Class Reference

#include <scanwizard.h>

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

Public Member Functions

 ScanWizard (uint default_sourceid=0, uint default_cardid=0, const QString &default_inputname=QString())
 
 ~ScanWizard () override=default
 
void SetupConfig (uint default_sourceid, uint default_cardid, const QString &default_inputname)
 
uint GetSourceID (void) const
 
uint GetScanID (void) const
 
QString GetModulation (void) const
 
int GetScanType (void) const
 
uint GetCardID (void) const
 
QString GetInputName (void) const
 
QString GetFilename (void) const
 
uint GetMultiplex (void) const
 
bool GetFrequencyTableRange (QString &start, QString &end) const
 
QString GetFrequencyStandard (void) const
 
QString GetFrequencyTable (void) const
 
QMap< QString, QString > GetStartChan (void) const
 
ServiceRequirements GetServiceRequirements (void) const
 
bool DoIgnoreSignalTimeout (void) const
 
bool DoFollowNIT (void) const
 
bool DoFreeToAirOnly (void) const
 
bool DoChannelNumbersOnly (void) const
 
bool DoCompleteChannelsOnly (void) const
 
bool DoFullChannelSearch (void) const
 
bool DoRemoveDuplicates (void) const
 
bool DoAddFullTS (void) const
 
bool DoTestDecryption (void) const
 
bool DoScanOpenTV (void) const
 
- 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 Save (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
 

Protected Slots

void Scan ()
 
void SetInput (const QString &cardid_inputname)
 
void SetPaneDefaults (const QString &cardid_inputname)
 

Protected Attributes

uint m_lastHWCardID {0}
 
uint m_lastHWCardType {CardUtil::ERROR_PROBE}
 
ChannelScannerGUIm_scannerPane {nullptr}
 
VideoSourceSelectorm_videoSource {nullptr}
 
InputSelectorm_input {nullptr}
 
ScanTypeSettingm_scanType {nullptr}
 
ScanOptionalConfigm_scanConfig {nullptr}
 
DesiredServicesm_services {nullptr}
 
FreeToAirOnlym_ftaOnly {nullptr}
 
ChannelNumbersOnlym_lcnOnly {nullptr}
 
CompleteChannelsOnlym_completeOnly {nullptr}
 
FullChannelSearchm_fullSearch {nullptr}
 
RemoveDuplicatesm_removeDuplicates {nullptr}
 
AddFullTSm_addFullTS {nullptr}
 
TrustEncSISettingm_trustEncSI {nullptr}
 
- 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}
 

Additional Inherited Members

- 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 *)
 
- 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)
 

Detailed Description

Definition at line 44 of file scanwizard.h.

Constructor & Destructor Documentation

◆ ScanWizard()

ScanWizard::ScanWizard ( uint  default_sourceid = 0,
uint  default_cardid = 0,
const QString &  default_inputname = QString() 
)
explicit

Definition at line 45 of file scanwizard.cpp.

◆ ~ScanWizard()

ScanWizard::~ScanWizard ( )
overridedefault

Member Function Documentation

◆ Scan

void ScanWizard::Scan ( void  )
protectedslot

Definition at line 56 of file scanwizard.cpp.

Referenced by ScanWizard().

◆ SetInput

void ScanWizard::SetInput ( const QString &  cardid_inputname)
protectedslot

Definition at line 201 of file scanwizard.cpp.

Referenced by SetupConfig().

◆ SetPaneDefaults

void ScanWizard::SetPaneDefaults ( const QString &  cardid_inputname)
protectedslot

Definition at line 120 of file scanwizardconfig.cpp.

Referenced by SetupConfig().

◆ SetupConfig()

void ScanWizard::SetupConfig ( uint  default_sourceid,
uint  default_cardid,
const QString &  default_inputname 
)

Definition at line 24 of file scanwizardconfig.cpp.

Referenced by ScanWizard().

◆ GetSourceID()

uint ScanWizard::GetSourceID ( void  ) const

Definition at line 75 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ GetScanID()

uint ScanWizard::GetScanID ( void  ) const
inline

Definition at line 71 of file scanwizard.h.

Referenced by Scan().

◆ GetModulation()

QString ScanWizard::GetModulation ( void  ) const
inline

Definition at line 72 of file scanwizard.h.

Referenced by Scan().

◆ GetScanType()

int ScanWizard::GetScanType ( void  ) const
inline

Definition at line 73 of file scanwizard.h.

Referenced by Scan().

◆ GetCardID()

uint ScanWizard::GetCardID ( void  ) const
inline

Definition at line 74 of file scanwizard.h.

Referenced by Scan().

◆ GetInputName()

QString ScanWizard::GetInputName ( void  ) const
inline

Definition at line 75 of file scanwizard.h.

Referenced by Scan().

◆ GetFilename()

QString ScanWizard::GetFilename ( void  ) const
inline

Definition at line 76 of file scanwizard.h.

Referenced by Scan().

◆ GetMultiplex()

uint ScanWizard::GetMultiplex ( void  ) const
inline

Definition at line 77 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyTableRange()

bool ScanWizard::GetFrequencyTableRange ( QString &  start,
QString &  end 
) const
inline

Definition at line 78 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyStandard()

QString ScanWizard::GetFrequencyStandard ( void  ) const
inline

Definition at line 80 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyTable()

QString ScanWizard::GetFrequencyTable ( void  ) const
inline

Definition at line 82 of file scanwizard.h.

Referenced by Scan().

◆ GetStartChan()

QMap<QString,QString> ScanWizard::GetStartChan ( void  ) const
inline

Definition at line 84 of file scanwizard.h.

Referenced by Scan().

◆ GetServiceRequirements()

ServiceRequirements ScanWizard::GetServiceRequirements ( void  ) const

Definition at line 80 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoIgnoreSignalTimeout()

bool ScanWizard::DoIgnoreSignalTimeout ( void  ) const
inline

Definition at line 87 of file scanwizard.h.

Referenced by Scan().

◆ DoFollowNIT()

bool ScanWizard::DoFollowNIT ( void  ) const
inline

Definition at line 89 of file scanwizard.h.

Referenced by Scan().

◆ DoFreeToAirOnly()

bool ScanWizard::DoFreeToAirOnly ( void  ) const

Definition at line 85 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoChannelNumbersOnly()

bool ScanWizard::DoChannelNumbersOnly ( void  ) const

Definition at line 90 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoCompleteChannelsOnly()

bool ScanWizard::DoCompleteChannelsOnly ( void  ) const

Definition at line 95 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoFullChannelSearch()

bool ScanWizard::DoFullChannelSearch ( void  ) const

Definition at line 100 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoRemoveDuplicates()

bool ScanWizard::DoRemoveDuplicates ( void  ) const

Definition at line 105 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoAddFullTS()

bool ScanWizard::DoAddFullTS ( void  ) const

Definition at line 110 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoTestDecryption()

bool ScanWizard::DoTestDecryption ( void  ) const

Definition at line 115 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoScanOpenTV()

bool ScanWizard::DoScanOpenTV ( void  ) const

Member Data Documentation

◆ m_lastHWCardID

uint ScanWizard::m_lastHWCardID {0}
protected

Definition at line 61 of file scanwizard.h.

Referenced by SetInput().

◆ m_lastHWCardType

uint ScanWizard::m_lastHWCardType {CardUtil::ERROR_PROBE}
protected

Definition at line 62 of file scanwizard.h.

Referenced by Scan(), and SetInput().

◆ m_scannerPane

ChannelScannerGUI* ScanWizard::m_scannerPane {nullptr}
protected

Definition at line 63 of file scanwizard.h.

Referenced by Scan().

◆ m_videoSource

VideoSourceSelector* ScanWizard::m_videoSource {nullptr}
protected

Definition at line 101 of file scanwizard.h.

Referenced by GetSourceID(), SetPaneDefaults(), and SetupConfig().

◆ m_input

InputSelector* ScanWizard::m_input {nullptr}
protected

Definition at line 102 of file scanwizard.h.

Referenced by SetupConfig().

◆ m_scanType

ScanTypeSetting* ScanWizard::m_scanType {nullptr}
protected

Definition at line 103 of file scanwizard.h.

Referenced by SetupConfig().

◆ m_scanConfig

ScanOptionalConfig* ScanWizard::m_scanConfig {nullptr}
protected

Definition at line 104 of file scanwizard.h.

Referenced by SetPaneDefaults(), and SetupConfig().

◆ m_services

DesiredServices* ScanWizard::m_services {nullptr}
protected

Definition at line 105 of file scanwizard.h.

Referenced by GetServiceRequirements(), and SetupConfig().

◆ m_ftaOnly

FreeToAirOnly* ScanWizard::m_ftaOnly {nullptr}
protected

Definition at line 106 of file scanwizard.h.

Referenced by DoFreeToAirOnly(), and SetupConfig().

◆ m_lcnOnly

ChannelNumbersOnly* ScanWizard::m_lcnOnly {nullptr}
protected

Definition at line 107 of file scanwizard.h.

Referenced by DoChannelNumbersOnly(), and SetupConfig().

◆ m_completeOnly

CompleteChannelsOnly* ScanWizard::m_completeOnly {nullptr}
protected

Definition at line 108 of file scanwizard.h.

Referenced by DoCompleteChannelsOnly(), and SetupConfig().

◆ m_fullSearch

FullChannelSearch* ScanWizard::m_fullSearch {nullptr}
protected

Definition at line 109 of file scanwizard.h.

Referenced by DoFullChannelSearch(), and SetupConfig().

◆ m_removeDuplicates

RemoveDuplicates* ScanWizard::m_removeDuplicates {nullptr}
protected

Definition at line 110 of file scanwizard.h.

Referenced by DoRemoveDuplicates(), and SetupConfig().

◆ m_addFullTS

AddFullTS* ScanWizard::m_addFullTS {nullptr}
protected

Definition at line 111 of file scanwizard.h.

Referenced by DoAddFullTS(), and SetupConfig().

◆ m_trustEncSI

TrustEncSISetting* ScanWizard::m_trustEncSI {nullptr}
protected

Definition at line 112 of file scanwizard.h.

Referenced by DoTestDecryption(), and SetupConfig().


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