MythTV  master
paneall.h
Go to the documentation of this file.
1 /* -*- Mode: c++ -*-
2  * vim: set expandtab tabstop=4 shiftwidth=4:
3  *
4  * Original Project
5  * MythTV http://www.mythtv.org
6  *
7  * Copyright (c) 2004, 2005 John Pullan <john@pullan.org>
8  * Copyright (c) 2005 - 2007 Daniel Kristjansson
9  *
10  * Description:
11  * Collection of classes to provide channel scanning functionallity
12  *
13  * This program is free software; you can redistribute it and/or
14  * modify it under the terms of the GNU General Public License
15  * as published by the Free Software Foundation; either version 2
16  * of the License, or (at your option) any later version.
17  *
18  * This program is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  * GNU General Public License for more details.
22  *
23  * You should have received a copy of the GNU General Public License
24  * along with this program; if not, write to the Free Software
25  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
26  * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
27  *
28  */
29 
30 #ifndef _PANE_ALL_H_
31 #define _PANE_ALL_H_
32 
33 // MythTV headers
35 
36 class PaneAll : public GroupSetting
37 {
38  public:
39  PaneAll(const QString &target, StandardSetting *setting) :
42  {
43  setVisible(false);
44  setting->addTargetedChildren(target,
45  {this,
47  m_follow_nit});
48  }
49 
50  bool ignoreSignalTimeout(void) const
51  { return m_ignore_signal_timeout->getValue().toInt(); }
52  bool GetFollowNIT(void) const
53  { return m_follow_nit->getValue().toInt(); }
54 
55  protected:
58 };
59 
60 #endif // _PANE_ALL_H_
IgnoreSignalTimeout * m_ignore_signal_timeout
Definition: paneall.h:56
FollowNITSetting * m_follow_nit
Definition: paneall.h:57
PaneAll(const QString &target, StandardSetting *setting)
Definition: paneall.h:39
virtual QString getValue(void) const
bool GetFollowNIT(void) const
Definition: paneall.h:52
void setVisible(bool visible)
void addTargetedChildren(const QString &value, std::initializer_list< StandardSetting * > settings)
bool ignoreSignalTimeout(void) const
Definition: paneall.h:50