"Fossies" - the Fresh Open Source Software Archive

Member "kaffeine-2.0.18/src/dvb/dvbchanneldialog_p.h" (14 May 2019, 1651 Bytes) of package /linux/misc/kaffeine-2.0.18.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "dvbchanneldialog_p.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 2.0.15_vs_2.0.16.

    1 /*
    2  * dvbchanneldialog_p.h
    3  *
    4  * Copyright (C) 2007-2011 Christoph Pfister <christophpfister@gmail.com>
    5  *
    6  * This program is free software; you can redistribute it and/or modify
    7  * it under the terms of the GNU General Public License as published by
    8  * the Free Software Foundation; either version 2 of the License, or
    9  * (at your option) any later version.
   10  *
   11  * This program is distributed in the hope that it will be useful,
   12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14  * GNU General Public License for more details.
   15  *
   16  * You should have received a copy of the GNU General Public License along
   17  * with this program; if not, write to the Free Software Foundation, Inc.,
   18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   19  */
   20 
   21 #ifndef DVBCHANNELDIALOG_P_H
   22 #define DVBCHANNELDIALOG_P_H
   23 
   24 #include <QDialog>
   25 #include "dvbchannel.h"
   26 
   27 class QCheckBox;
   28 class QSpinBox;
   29 class QComboBox;
   30 class QLineEdit;
   31 class DvbChannelTableModel;
   32 
   33 Q_DECLARE_METATYPE(QList<DvbSharedChannel>)
   34 
   35 class DvbChannelEditor : public QDialog
   36 {
   37 Q_OBJECT
   38 public:
   39     DvbChannelEditor(DvbChannelTableModel *model_, const DvbSharedChannel &channel_,
   40         QWidget *parent);
   41     ~DvbChannelEditor();
   42 
   43 private:
   44     void accept();
   45 
   46     DvbChannelTableModel *model;
   47     DvbSharedChannel channel;
   48     QLineEdit *nameEdit;
   49     QSpinBox *numberBox;
   50     QSpinBox *networkIdBox;
   51     QSpinBox *transportStreamIdBox;
   52     QSpinBox *serviceIdBox;
   53     QComboBox *audioStreamBox;
   54     QList<int> audioPids;
   55     QCheckBox *scrambledBox;
   56 
   57 signals:
   58     void channelPidsChanged(const DvbSharedChannel &channel);
   59 };
   60 
   61 #endif /* DVBCHANNELDIALOG_P_H */