00001 /* -*- Mode: c++ -*- 00002 * vim: set expandtab tabstop=4 shiftwidth=4: 00003 * 00004 * Original Project 00005 * MythTV http://www.mythtv.org 00006 * 00007 * Copyright (c) 2004, 2005 John Pullan <john@pullan.org> 00008 * Copyright (c) 2005 - 2007 Daniel Kristjansson 00009 * 00010 * Description: 00011 * Collection of classes to provide channel scanning functionallity 00012 * 00013 * This program is free software; you can redistribute it and/or 00014 * modify it under the terms of the GNU General Public License 00015 * as published by the Free Software Foundation; either version 2 00016 * of the License, or (at your option) any later version. 00017 * 00018 * This program is distributed in the hope that it will be useful, 00019 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program; if not, write to the Free Software 00025 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00026 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html 00027 * 00028 */ 00029 00030 #ifndef _PANE_DVBC_H_ 00031 #define _PANE_DVBC_H_ 00032 00033 class PaneDVBC : public HorizontalConfigurationGroup 00034 { 00035 public: 00036 PaneDVBC() : HorizontalConfigurationGroup(false, false, true, false) 00037 { 00038 setUseFrame(false); 00039 VerticalConfigurationGroup *left = 00040 new VerticalConfigurationGroup(false,true); 00041 VerticalConfigurationGroup *right = 00042 new VerticalConfigurationGroup(false,true); 00043 left->addChild(pfrequency = new ScanFrequency()); 00044 left->addChild(psymbolrate = new ScanSymbolRateDVBC()); 00045 left->addChild(pinversion = new ScanInversion()); 00046 right->addChild(pmodulation = new ScanModulation()); 00047 right->addChild(pfec = new ScanFec()); 00048 addChild(left); 00049 addChild(right); 00050 } 00051 00052 QString frequency(void) const { return pfrequency->getValue(); } 00053 QString symbolrate(void) const { return psymbolrate->getValue(); } 00054 QString inversion(void) const { return pinversion->getValue(); } 00055 QString fec(void) const { return pfec->getValue(); } 00056 QString modulation(void) const { return pmodulation->getValue(); } 00057 00058 protected: 00059 ScanFrequency *pfrequency; 00060 ScanSymbolRateDVBC *psymbolrate; 00061 ScanInversion *pinversion; 00062 ScanModulation *pmodulation; 00063 ScanFec *pfec; 00064 }; 00065 00066 #endif // _PANE_DVBC_H_
1.6.3