MythTV  master
panedvbutilsimport.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_DVB_UTILS_IMPORT_H
31 #define PANE_DVB_UTILS_IMPORT_H
32 
33 // Qt headers
34 #include <QString>
35 
36 // MythTV headers
38 
40 {
41  Q_OBJECT
42 
43  public:
47  {
48  m_filename->setLabel(tr("File location"));
49  m_filename->setHelpText(tr("Location of the channels.conf file."));
52  }
53 
54  QString GetFilename(void) const { return m_filename->getValue(); }
55  bool DoIgnoreSignalTimeout(void) const
56  { return m_ignoreSignalTimeout->getValue().toInt() != 0; }
57 
58  private:
61 };
62 
63 #endif // PANE_DVB_UTILS_IMPORT_H
PaneDVBUtilsImport::m_ignoreSignalTimeout
IgnoreSignalTimeout * m_ignoreSignalTimeout
Definition: panedvbutilsimport.h:60
PaneDVBUtilsImport::DoIgnoreSignalTimeout
bool DoIgnoreSignalTimeout(void) const
Definition: panedvbutilsimport.h:55
TransTextEditSetting
Definition: standardsettings.h:161
IgnoreSignalTimeout
Definition: channelscanmiscsettings.h:52
StandardSetting::addChild
virtual void addChild(StandardSetting *child)
Definition: standardsettings.cpp:71
StandardSetting::setHelpText
virtual void setHelpText(const QString &str)
Definition: standardsettings.h:37
PaneDVBUtilsImport
Definition: panedvbutilsimport.h:39
StandardSetting::getValue
virtual QString getValue(void) const
Definition: standardsettings.h:52
channelscanmiscsettings.h
StandardSetting::setLabel
virtual void setLabel(QString str)
Definition: standardsettings.h:34
PaneDVBUtilsImport::PaneDVBUtilsImport
PaneDVBUtilsImport()
Definition: panedvbutilsimport.h:44
PaneDVBUtilsImport::GetFilename
QString GetFilename(void) const
Definition: panedvbutilsimport.h:54
PaneDVBUtilsImport::m_filename
TransTextEditSetting * m_filename
Definition: panedvbutilsimport.h:59
GroupSetting
Definition: standardsettings.h:435