MythTV  master
paneanalog.cpp
Go to the documentation of this file.
1 /* -*- Mode: c++ -*-
2  * vim: set expandtab tabstop=4 shiftwidth=4:
3  */
4 
5 // MythTV headers
6 #include "paneanalog.h"
7 #include "videosource.h"
8 
9 PaneAnalog::PaneAnalog(const QString &target, StandardSetting *setting) :
10  m_freq_table(new TransFreqTableSelector(0))
11 {
12  setVisible(false);
13  setting->addTargetedChildren(target, {this, m_freq_table});
14 }
15 
17 {
18  m_freq_table->SetSourceID(sourceid);
19 }
20 
21 QString PaneAnalog::GetFrequencyTable(void) const
22 {
23  return m_freq_table->getValue();
24 }
TransFreqTableSelector::SetSourceID
void SetSourceID(uint _sourceid)
Definition: videosource.cpp:552
paneanalog.h
PaneAnalog::PaneAnalog
PaneAnalog(const QString &target, StandardSetting *setting)
Definition: paneanalog.cpp:9
PaneAnalog::m_freq_table
TransFreqTableSelector * m_freq_table
Definition: paneanalog.h:22
PaneAnalog::GetFrequencyTable
QString GetFrequencyTable(void) const
Definition: paneanalog.cpp:21
TransFreqTableSelector
Definition: videosource.h:102
PaneAnalog::SetSourceID
void SetSourceID(uint sourceid)
Definition: paneanalog.cpp:16
StandardSetting::getValue
virtual QString getValue(void) const
Definition: standardsettings.h:51
uint
unsigned int uint
Definition: compat.h:140
StandardSetting::setVisible
void setVisible(bool visible)
Definition: standardsettings.cpp:53
StandardSetting
Definition: standardsettings.h:29
StandardSetting::addTargetedChildren
void addTargetedChildren(const QString &value, std::initializer_list< StandardSetting * > settings)
Definition: standardsettings.cpp:100
videosource.h