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, QString default_inputname=QString())
 
 ~ScanWizard ()=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 DoAddFullTS (void) const
 
bool DoTestDecryption (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 *)
 
void MoveToThread (QThread *thread)
 
- Public Member Functions inherited from StorageUser
virtual ~StorageUser ()=default
 

Protected Slots

void Scan ()
 
void SetInput (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}
 
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 &)
 
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)
 

Detailed Description

Definition at line 44 of file scanwizard.h.

Constructor & Destructor Documentation

◆ ScanWizard()

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

Definition at line 45 of file scanwizard.cpp.

◆ ~ScanWizard()

ScanWizard::~ScanWizard ( )
default

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 194 of file scanwizard.cpp.

Referenced by SetupConfig().

◆ SetupConfig()

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

Definition at line 23 of file scanwizardconfig.cpp.

Referenced by ScanWizard().

◆ GetSourceID()

uint ScanWizard::GetSourceID ( void  ) const

Definition at line 66 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ GetScanID()

uint ScanWizard::GetScanID ( void  ) const
inline

Definition at line 70 of file scanwizard.h.

Referenced by Scan().

◆ GetModulation()

QString ScanWizard::GetModulation ( void  ) const
inline

Definition at line 71 of file scanwizard.h.

Referenced by Scan().

◆ GetScanType()

int ScanWizard::GetScanType ( void  ) const
inline

Definition at line 72 of file scanwizard.h.

Referenced by Scan().

◆ GetCardID()

uint ScanWizard::GetCardID ( void  ) const
inline

Definition at line 73 of file scanwizard.h.

Referenced by Scan().

◆ GetInputName()

QString ScanWizard::GetInputName ( void  ) const
inline

Definition at line 74 of file scanwizard.h.

Referenced by Scan().

◆ GetFilename()

QString ScanWizard::GetFilename ( void  ) const
inline

Definition at line 75 of file scanwizard.h.

Referenced by Scan().

◆ GetMultiplex()

uint ScanWizard::GetMultiplex ( void  ) const
inline

Definition at line 76 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyTableRange()

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

Definition at line 77 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyStandard()

QString ScanWizard::GetFrequencyStandard ( void  ) const
inline

Definition at line 79 of file scanwizard.h.

Referenced by Scan().

◆ GetFrequencyTable()

QString ScanWizard::GetFrequencyTable ( void  ) const
inline

Definition at line 81 of file scanwizard.h.

Referenced by Scan().

◆ GetStartChan()

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

Definition at line 83 of file scanwizard.h.

Referenced by Scan().

◆ GetServiceRequirements()

ServiceRequirements ScanWizard::GetServiceRequirements ( void  ) const

Definition at line 71 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoIgnoreSignalTimeout()

bool ScanWizard::DoIgnoreSignalTimeout ( void  ) const
inline

Definition at line 86 of file scanwizard.h.

Referenced by Scan().

◆ DoFollowNIT()

bool ScanWizard::DoFollowNIT ( void  ) const
inline

Definition at line 88 of file scanwizard.h.

Referenced by Scan().

◆ DoFreeToAirOnly()

bool ScanWizard::DoFreeToAirOnly ( void  ) const

Definition at line 76 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoChannelNumbersOnly()

bool ScanWizard::DoChannelNumbersOnly ( void  ) const

Definition at line 81 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoCompleteChannelsOnly()

bool ScanWizard::DoCompleteChannelsOnly ( void  ) const

Definition at line 86 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoAddFullTS()

bool ScanWizard::DoAddFullTS ( void  ) const

Definition at line 91 of file scanwizardconfig.cpp.

Referenced by Scan().

◆ DoTestDecryption()

bool ScanWizard::DoTestDecryption ( void  ) const

Definition at line 96 of file scanwizardconfig.cpp.

Referenced by Scan().

Member Data Documentation

◆ m_lastHWCardID

uint ScanWizard::m_lastHWCardID {0}
protected

Definition at line 60 of file scanwizard.h.

Referenced by SetInput().

◆ m_lastHWCardType

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

Definition at line 61 of file scanwizard.h.

Referenced by Scan(), and SetInput().

◆ m_scannerPane

ChannelScannerGUI* ScanWizard::m_scannerPane {nullptr}
protected

Definition at line 62 of file scanwizard.h.

Referenced by Scan().

◆ m_videoSource

VideoSourceSelector* ScanWizard::m_videoSource {nullptr}
protected

Definition at line 97 of file scanwizard.h.

Referenced by GetSourceID(), and SetupConfig().

◆ m_input

InputSelector* ScanWizard::m_input {nullptr}
protected

Definition at line 98 of file scanwizard.h.

Referenced by SetupConfig().

◆ m_scanType

ScanTypeSetting* ScanWizard::m_scanType {nullptr}
protected

Definition at line 99 of file scanwizard.h.

Referenced by SetupConfig().

◆ m_scanConfig

ScanOptionalConfig* ScanWizard::m_scanConfig {nullptr}
protected

Definition at line 100 of file scanwizard.h.

Referenced by SetupConfig().

◆ m_services

DesiredServices* ScanWizard::m_services {nullptr}
protected

Definition at line 101 of file scanwizard.h.

Referenced by GetServiceRequirements(), and SetupConfig().

◆ m_ftaOnly

FreeToAirOnly* ScanWizard::m_ftaOnly {nullptr}
protected

Definition at line 102 of file scanwizard.h.

Referenced by DoFreeToAirOnly(), and SetupConfig().

◆ m_lcnOnly

ChannelNumbersOnly* ScanWizard::m_lcnOnly {nullptr}
protected

Definition at line 103 of file scanwizard.h.

Referenced by DoChannelNumbersOnly(), and SetupConfig().

◆ m_completeOnly

CompleteChannelsOnly* ScanWizard::m_completeOnly {nullptr}
protected

Definition at line 104 of file scanwizard.h.

Referenced by DoCompleteChannelsOnly(), and SetupConfig().

◆ m_addFullTS

AddFullTS* ScanWizard::m_addFullTS {nullptr}
protected

Definition at line 105 of file scanwizard.h.

Referenced by DoAddFullTS(), and SetupConfig().

◆ m_trustEncSI

TrustEncSISetting* ScanWizard::m_trustEncSI {nullptr}
protected

Definition at line 106 of file scanwizard.h.

Referenced by DoTestDecryption(), and SetupConfig().


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