MythTV  0.28pre
videosource.h
Go to the documentation of this file.
1 #ifndef VIDEOSOURCE_H
2 #define VIDEOSOURCE_H
3 
4 #include <vector>
5 using namespace std;
6 
7 #include "mthread.h"
8 #include "settings.h"
9 #include "datadirect.h"
10 
11 class SignalTimeout;
12 class ChannelTimeout;
13 class UseEIT;
14 class VideoSource;
15 class CaptureCard;
16 class VBIDevice;
17 class CardInput;
18 class CardID;
19 class InputName;
20 class SourceID;
21 class DiSEqCDevTree;
22 class DiSEqCDevSettings;
23 class InputGroup;
24 
25 static inline bool is_grabber_external(const QString &grabber)
26 {
27  return !(grabber == "datadirect" ||
28  grabber == "eitonly" ||
29  grabber == "schedulesdirect1" ||
30  grabber == "/bin/true");
31 }
32 
33 static inline bool is_grabber_datadirect(const QString &grabber)
34 {
35  return (grabber == "datadirect") || (grabber == "schedulesdirect1");
36 }
37 
38 static inline int get_datadirect_provider(const QString &grabber)
39 {
40  if (grabber == "datadirect")
41  return DD_ZAP2IT;
42  else if (grabber == "schedulesdirect1")
43  return DD_SCHEDULES_DIRECT;
44  else
45  return -1;
46 }
47 
48 static inline bool is_grabber_labs(const QString &grabber)
49 {
50  return grabber == "datadirect";
51 }
52 
54 {
55  protected:
57  const VideoSource &_parent,
58  const QString &name) :
59  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
60  {
61  }
62 
63  virtual QString GetSetClause(MSqlBindings &bindings) const;
64  virtual QString GetWhereClause(MSqlBindings &bindings) const;
65 
67 };
68 
70 {
71  Q_OBJECT
72 
73  public:
74  VideoSourceSelector(uint _initial_sourceid,
75  const QString &_card_types,
76  bool _must_have_mplexid);
77 
78  virtual void Load(void);
79 
80  uint GetSourceID(void) const { return getValue().toUInt(); }
81 
82  private:
84  QString card_types;
86 };
87 
90 {
91  Q_OBJECT
92 public:
93  FreqTableSelector(const VideoSource& parent);
94 protected:
95  QString freq;
96 };
97 
99 {
100  public:
101  TransFreqTableSelector(uint _sourceid);
102 
103  virtual void Load(void);
104 
105  virtual void Save(void);
106  virtual void Save(QString /*destination*/) { Save(); }
107 
108  void SetSourceID(uint _sourceid);
109 
110  private:
113 };
114 
117 {
118  Q_OBJECT
119 public:
121  ComboBoxSetting(this), VideoSourceDBStorage(this, parent, "lineupid")
122  {
123  setLabel(QObject::tr("Data Direct lineup"));
124  };
125 
126  public slots:
127  void fillSelections(const QString& uid, const QString& pwd, int source);
128 };
129 
131 {
132  public:
133  DataDirectButton() { setLabel(QObject::tr("Retrieve Lineups")); }
134 };
135 
136 class DataDirectUserID;
137 class DataDirectPassword;
138 
140 {
141  Q_OBJECT
142  public:
143  DataDirect_config(const VideoSource& _parent, int _ddsource);
144 
145  virtual void Load(void);
146 
147  QString getLineupID(void) const { return lineupselector->getValue(); };
148 
149  protected slots:
150  void fillDataDirectLineupSelector(void);
151 
152  protected:
160  int source;
161 };
162 
164 {
165  Q_OBJECT
166 
167  public:
168  XMLTV_generic_config(const VideoSource& _parent, QString _grabber);
169 
170  virtual void Save(void);
171  virtual void Save(QString) { Save(); }
172 
173  public slots:
174  void RunConfig(void);
175 
176  protected:
178  QString grabber;
179  QStringList grabberArgs;
180 };
181 
183 {
184 public:
185  EITOnly_config(const VideoSource& _parent);
186 
187  virtual void Save();
188  virtual void Save(QString) { Save(); }
189 
190 protected:
192 };
193 
195 {
196 public:
197  NoGrabber_config(const VideoSource& _parent);
198 
199  virtual void Save(void);
200  virtual void Save(QString) { Save(); }
201 
202 protected:
204 };
205 
206 
207 class XMLTVGrabber;
209 {
210  Q_OBJECT
211 
212  public:
213  XMLTVConfig(const VideoSource &aparent);
214 
215  virtual void Load(void);
216  virtual void Save(void);
217  virtual void Save(QString /*destination*/) { Save(); }
218 
219  private:
222 
223  void LoadXMLTVGrabbers(QStringList name_list, QStringList prog_list);
224 };
225 
227 public:
228  VideoSource();
229 
230  int getSourceID(void) const { return id->intValue(); };
231 
232  void loadByID(int id);
233 
234  static void fillSelections(SelectSetting* setting);
235  static QString idToName(int id);
236 
237  QString getSourceName(void) const { return name->getValue(); };
238 
239  virtual void Save(void)
240  {
241  if (name)
243  }
244 
245  virtual void Save(QString destination)
246  {
247  if (name)
248  ConfigurationWizard::Save(destination);
249  }
250 
251  private:
253  {
254  public:
255  ID() : AutoIncrementDBSetting("videosource", "sourceid")
256  {
257  setName("VideoSourceName");
258  setVisible(false);
259  };
260  };
261 
263  {
264  public:
265  Name(const VideoSource &parent) :
266  LineEditSetting(this), VideoSourceDBStorage(this, parent, "name")
267  {
268  setLabel(QObject::tr("Video source name"));
269  }
270  };
271 
272 private:
273  ID *id;
276 };
277 
279 {
280  protected:
282  const CaptureCard &_parent,
283  const QString &_name) :
284  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
285  {
286  }
287 
288  int getCardID(void) const;
289 
290 protected:
291  virtual QString GetSetClause(MSqlBindings &bindings) const;
292  virtual QString GetWhereClause(MSqlBindings &bindings) const;
293 private:
295 };
296 
298 {
299  Q_OBJECT
300  public:
301  TunerCardAudioInput(const CaptureCard &parent,
302  QString dev = QString::null,
303  QString type = QString::null);
304 
305  public slots:
306  void fillSelections(const QString &device);
307 
308  private:
309  QString last_device;
310  QString last_cardtype;
311 };
312 
314 {
315  Q_OBJECT
316  public:
317  EmptyAudioDevice(const CaptureCard &parent) :
318  LineEditSetting(this),
319  CaptureCardDBStorage(this, parent, "audiodevice")
320  {
321  setVisible(false);
322  }
323 
324  void Save(void)
325  {
326  SetSaveRequired();
327  settingValue = "";
329  }
330  void Save(QString destination)
331  {
332  SetSaveRequired();
333  settingValue = "";
334  SimpleDBStorage::Save(destination);
335  }
336 };
337 
339 {
340  Q_OBJECT
341 
342  public:
343  EmptyVBIDevice(const CaptureCard &parent) :
344  LineEditSetting(this),
345  CaptureCardDBStorage(this, parent, "vbidevice")
346  {
347  setVisible(false);
348  };
349 
350  void Save(void)
351  {
352  SetSaveRequired();
353  settingValue = "";
355  }
356  void Save(QString destination)
357  {
358  SetSaveRequired();
359  settingValue = "";
360  SimpleDBStorage::Save(destination);
361  }
362 };
363 
365 {
366 public:
367  CardType(const CaptureCard& parent);
368  static void fillSelections(SelectSetting* setting);
369 };
370 
372 {
373  public:
374  QString mythdeviceid;
375  QString deviceid;
376  QString desc;
377  QString cardip;
378  QString cardtuner;
379  bool inuse;
381 };
382 
383 typedef QMap<QString, HDHomeRunDevice> HDHomeRunDeviceList;
384 
386 class HDHomeRunDeviceID;
387 class HDHomeRunIP;
388 class HDHomeRunTunerIndex;
390 {
391  Q_OBJECT
392 
393  friend class HDHomeRunExtra;
394 
395  public:
397 
398  public slots:
399  void HDHomeRunExtraPanel(void);
400 
401  private:
402  void FillDeviceList(void);
403  bool ProbeCard(HDHomeRunDevice&);
404 
405  private:
413 };
414 
416 {
417  public:
418  QString mythdeviceid;
419  QString deviceid;
420  QString desc;
421  QString cardip;
422  QString tunerno;
423  QString tunertype;
424  bool inuse;
426 };
427 
428 typedef QMap<QString, VBoxDevice> VBoxDeviceList;
429 
430 class VBoxDeviceIDList;
431 class VBoxDeviceID;
432 class VBoxIP;
433 class VBoxTunerIndex;
435 {
436  Q_OBJECT
437 
438  friend class VBoxExtra;
439 
440  public:
442 
443  public slots:
444  void VBoxExtraPanel(void);
445 
446  private:
447  void FillDeviceList(void);
448 
449  private:
457 };
458 
459 class CetonDeviceID;
460 class CetonSetting;
462 {
463  Q_OBJECT
464 
465  friend class CetonExtra;
466 
467  public:
469 
470  public slots:
471  void CetonExtraPanel(void);
472 
473  private:
479 };
480 
481 
482 
484 {
485  Q_OBJECT
486 
487  public:
489 
490  public slots:
491  void probeCard(const QString &device);
492 
493  private:
497 };
498 
499 class VideoDevice;
500 class VBIDevice;
501 
503 {
504  Q_OBJECT
505 
506  public:
508 
509  public slots:
510  void probeCard(const QString &device);
511 
512  private:
517 };
518 
520 {
521  Q_OBJECT
522 
523  public:
525 
526  public slots:
527  void probeCard(const QString &device);
528 
529  private:
534 };
535 
536 class ASIDevice;
537 
539 {
540  Q_OBJECT
541 
542  public:
543  V4L2encGroup(CaptureCard& parent);
544 
545  private:
548 
549  QString m_DriverName;
550 
551  protected slots:
552  virtual void triggerChanged(const QString& value);
553  void probeCard(const QString &device);
554 };
555 
557 {
558  Q_OBJECT
559 
560  public:
562 
563  public slots:
564  void probeCard(const QString &device);
565 
566  private:
570 };
571 
573 {
574  Q_OBJECT
575 
576  public:
578 
579  public slots:
580  void probeCard(const QString &device);
581 
582  private:
586 };
587 
589 {
590  Q_OBJECT
591 
592  public:
594 
595  public slots:
596  void probeCard(const QString &device);
597 
598  private:
602 };
603 
604 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
606 {
607  Q_OBJECT
608 
609  public:
611 
612  public slots:
613  void probeApp(const QString & path);
614 
615  private:
618 };
619 #endif
620 
621 class DVBCardNum;
622 class DVBCardName;
623 class DVBCardType;
624 class DVBTuningDelay;
625 
627 {
628  Q_OBJECT
629 
630  friend class DVBExtra;
631 
632  public:
635 
636  virtual void Load(void);
637 
638  virtual void Save(void);
639  virtual void Save(QString /*destination*/) { Save(); }
640 
641  public slots:
642  void probeCard(const QString& cardNumber);
643  void reloadDiseqcTree(const QString &device);
644  void DiSEqCPanel(void);
645  void DVBExtraPanel(void);
646 
647  private:
649 
655 #if 0
657 #endif
661 };
662 
663 class FirewireGUID;
665 {
666  Q_OBJECT
667 
668  public:
669  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
670 
671  public slots:
672  void SetGUID(const QString&);
673 
674  private:
676 };
677 
679 {
680  Q_OBJECT
681 
682  public:
683  FirewireDesc(const FirewireGUID *_guid) :
684  TransLabelSetting(), guid(_guid) { }
685 
686  public slots:
687  void SetGUID(const QString&);
688 
689  private:
691 };
692 
694 {
695  Q_OBJECT
696 public:
697  CaptureCardGroup(CaptureCard& parent);
698 
699 protected slots:
700  virtual void triggerChanged(const QString& value);
701 };
702 
703 class CaptureCard : public QObject, public ConfigurationWizard
704 {
705  Q_OBJECT
706 public:
707  CaptureCard(bool use_card_group = true);
708 
709  int getCardID(void) const { return id->intValue(); }
710  QString GetRawCardType(void) const;
711 
712  void loadByID(int id);
713 
714  static void fillSelections(SelectSetting* setting);
715 
716  void reload(void);
717 
718  virtual void Save(void);
719  virtual void Save(QString /*destination*/) { Save(); }
720 
721 private:
722 
723  class ID: public AutoIncrementDBSetting {
724  public:
725  ID():
726  AutoIncrementDBSetting("capturecard", "cardid") {
727  setVisible(false);
728  setName("ID");
729  };
730  };
731 
733  {
734  public:
735  Hostname(const CaptureCard &parent) :
736  HostnameSetting(this),
737  CaptureCardDBStorage(this, parent, "hostname") { }
738  };
739 
740 private:
741  ID *id;
742 };
743 
745 {
746  protected:
748  const CardInput &_parent,
749  QString _name) :
750  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
751  {
752  }
753 
754  int getInputID(void) const;
755 
756  void fillSelections();
757 
758 protected:
759  virtual QString GetSetClause(MSqlBindings &bindings) const;
760  virtual QString GetWhereClause(MSqlBindings &bindings) const;
761 private:
763 };
764 
765 class MTV_PUBLIC CaptureCardEditor : public QObject, public ConfigurationDialog
766 {
767  Q_OBJECT
768 
769  public:
771 
772  virtual MythDialog* dialogWidget(MythMainWindow* parent,
773  const char* widgetName=0);
774  virtual DialogCode exec(void);
775  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
776  { return exec(); }
777  virtual void Load(void);
778 
779  virtual void Save(void) { }
780  virtual void Save(QString destination) { }
781 
782  public slots:
783  void menu(void);
784  void edit(void);
785  void del(void);
786 
787  private:
789 };
790 
791 class MTV_PUBLIC VideoSourceEditor : public QObject, public ConfigurationDialog
792 {
793  Q_OBJECT
794 
795  public:
797 
798  virtual MythDialog* dialogWidget(MythMainWindow* parent,
799  const char* widgetName=0);
800 
801  bool cardTypesInclude(const int& SourceID,
802  const QString& thecardtype);
803 
804  virtual DialogCode exec(void);
805  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
806  { return exec(); }
807  virtual void Load(void);
808  virtual void Save(void) { }
809  virtual void Save(QString /*destination*/) { }
810 
811  public slots:
812  void menu(void);
813  void edit(void);
814  void del(void);
815 
816  private:
818 };
819 
820 class MTV_PUBLIC CardInputEditor : public QObject, public ConfigurationDialog
821 {
822  Q_OBJECT
823 
824  public:
825  CardInputEditor();
826 
827  virtual DialogCode exec(void);
828  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
829  { return exec(); }
830  virtual void Load(void);
831  virtual void Save(void) { }
832  virtual void Save(QString /*destination*/) { }
833 
834  private:
835  vector<CardInput*> cardinputs;
837 };
838 
840 {
841  Q_OBJECT
842  public:
843  StartingChannel(const CardInput &parent) :
844  ComboBoxSetting(this, false, 1),
845  CardInputDBStorage(this, parent, "startchan")
846  {
847  setLabel(QObject::tr("Starting channel"));
848  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
849  QObject::tr("This is updated on every successful "
850  "channel change."));
851  }
852  void fillSelections(void) {;}
853  public slots:
854  void SetSourceID(const QString &sourceid);
855 };
856 
857 class CardInput : public QObject, public ConfigurationWizard
858 {
859  Q_OBJECT
860  public:
861  CardInput(const QString & cardtype, const QString & device,
862  bool is_new_input, int cardid);
863  ~CardInput();
864 
865  int getInputID(void) const { return id->intValue(); };
866 
867  void loadByID(int id);
868  void loadByInput(int cardid, QString input);
869  QString getSourceName(void) const;
870 
871  virtual void Save(void);
872  virtual void Save(QString /*destination*/) { Save(); }
873 
874  public slots:
875  void CreateNewInputGroup();
876  void channelScanner();
877  void sourceFetch();
878  void SetSourceID(const QString &sourceid);
879  void UpdateSchedGroup(int value);
880 
881  private:
883  {
884  public:
885  ID() : AutoIncrementDBSetting("capturecard", "cardid")
886  {
887  setVisible(false);
888  setName("CardInputID");
889  }
890  };
891 
892  ID *id;
903 };
904 
905 class HDHomeRunDeviceID;
906 class HDHomeRunTunerIndex;
907 
909 {
910  Q_OBJECT
911 
912  public:
913  HDHomeRunIP();
914 
915  virtual void setEnabled(bool e);
916  void SetOldValue(const QString &s)
917  { _oldValue = s; _oldValue.detach(); };
918 
919  signals:
920  void NewIP(const QString&);
921 
922  public slots:
923  void UpdateDevices(const QString&);
924 
925  private:
926  QString _oldValue;
927 };
928 
930 {
931  Q_OBJECT
932 
933  public:
935 
936  virtual void setEnabled(bool e);
937  void SetOldValue(const QString &s)
938  { _oldValue = s; _oldValue.detach(); };
939 
940  signals:
941  void NewTuner(const QString&);
942 
943  public slots:
944  void UpdateDevices(const QString&);
945 
946  private:
947  QString _oldValue;
948 };
949 
950 
952 {
953  Q_OBJECT
954 
955  public:
957  TransLabelSetting *desc,
958  HDHomeRunIP *cardip,
959  HDHomeRunTunerIndex *cardtuner,
960  HDHomeRunDeviceList *devicelist);
961 
962  void fillSelections(const QString &current);
963 
964  virtual void Load(void);
965 
966  public slots:
967  void UpdateDevices(const QString&);
968 
969  private:
975 
976  QString _oldValue;
977 };
978 
980 {
981  Q_OBJECT
982 
983  public:
984  HDHomeRunDeviceID(const CaptureCard &parent);
985 
986  virtual void Load(void);
987 
988  public slots:
989  void SetIP(const QString&);
990  void SetTuner(const QString&);
991  void SetOverrideDeviceID(const QString&);
992 
993  private:
994  QString _ip;
995  QString _tuner;
997 };
998 
1000 class VBoxDeviceID;
1001 class VBoxTunerIndex;
1002 
1004 {
1005  Q_OBJECT
1006 
1007  public:
1008  VBoxIP();
1009 
1010  virtual void setEnabled(bool e);
1011  void SetOldValue(const QString &s)
1012  { _oldValue = s; _oldValue.detach(); };
1013 
1014  signals:
1015  void NewIP(const QString&);
1016 
1017  public slots:
1018  void UpdateDevices(const QString&);
1019 
1020  private:
1021  QString _oldValue;
1022 };
1023 
1025 {
1026  Q_OBJECT
1027 
1028  public:
1029  VBoxTunerIndex();
1030 
1031  virtual void setEnabled(bool e);
1032  void SetOldValue(const QString &s)
1033  { _oldValue = s; _oldValue.detach(); };
1034 
1035  signals:
1036  void NewTuner(const QString&);
1037 
1038  public slots:
1039  void UpdateDevices(const QString&);
1040 
1041  private:
1042  QString _oldValue;
1043 };
1044 
1046 {
1047  Q_OBJECT
1048 
1049  public:
1050  VBoxDeviceIDList(VBoxDeviceID *deviceid,
1051  TransLabelSetting *desc,
1052  VBoxIP *cardip,
1053  VBoxTunerIndex *cardtuner,
1054  VBoxDeviceList *devicelist);
1055 
1056  void fillSelections(const QString &current);
1057 
1058  virtual void Load(void);
1059 
1060  public slots:
1061  void UpdateDevices(const QString&);
1062 
1063  private:
1069 
1070  QString _oldValue;
1071 };
1072 
1074 {
1075  Q_OBJECT
1076 
1077  public:
1078  VBoxDeviceID(const CaptureCard &parent);
1079 
1080  virtual void Load(void);
1081 
1082  public slots:
1083  void SetIP(const QString&);
1084  void SetTuner(const QString&);
1085  void SetOverrideDeviceID(const QString&);
1086 
1087  private:
1088  QString _ip;
1089  QString _tuner;
1091 };
1092 
1094 {
1095  Q_OBJECT
1096 
1097  public:
1098  CetonSetting(const char* label, const char* helptext);
1099 
1100  signals:
1101  void NewValue(const QString&);
1102 
1103  public slots:
1104  void UpdateDevices(const QString&);
1105  void LoadValue(const QString&);
1106 };
1107 
1109 {
1110  Q_OBJECT
1111 
1112  public:
1113  CetonDeviceID(const CaptureCard &parent);
1114 
1115  virtual void Load(void);
1116  void UpdateValues();
1117 
1118  signals:
1119  void LoadedIP(const QString&);
1120  void LoadedCard(const QString&);
1121  void LoadedTuner(const QString&);
1122 
1123  public slots:
1124  void SetIP(const QString&);
1125  void SetTuner(const QString&);
1126 
1127  private:
1128  QString _ip;
1129  QString _card;
1130  QString _tuner;
1132 };
1133 
1134 #endif
void SetOldValue(const QString &s)
Definition: videosource.h:937
QStringList grabberArgs
Definition: videosource.h:179
TransLabelSetting * desc
Definition: videosource.h:407
TransButtonSetting * scan
Definition: videosource.h:896
HDHomeRunIP * _cardip
Definition: videosource.h:972
virtual void Load(void)
TransLabelSetting * cardinfo
Definition: videosource.h:495
DiSEqCDevSettings * externalInputSettings
Definition: videosource.h:898
vector< CardInput * > cardinputs
Definition: videosource.h:835
DataDirectLineupSelector(const VideoSource &parent)
Definition: videosource.h:120
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:237
virtual DialogCode exec(bool, bool)
Definition: videosource.h:828
DVB-S device settings class.
Definition: diseqc.h:37
TransButtonSetting * srcfetch
Definition: videosource.h:897
QString _tuner
Definition: videosource.h:1130
const CaptureCard & _parent
Definition: videosource.h:1131
CaptureCard & parent
Definition: videosource.h:474
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:83
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:281
QString cardip
Definition: videosource.h:421
QString _oldValue
Definition: videosource.h:926
SpinBoxSetting * instancecount
Definition: videosource.h:901
CetonDeviceID * deviceid
Definition: videosource.h:476
TransButtonSetting * buttonAnalog
Definition: videosource.h:656
TransLabelSetting * desc
Definition: videosource.h:451
TransLabelSetting * desc
Definition: videosource.h:475
VBoxDeviceIDList * deviceidlist
Definition: videosource.h:452
QString lastloadedpassword
Definition: videosource.h:159
QString _overridedeviceid
Definition: videosource.h:996
CheckBoxSetting * schedgroup
Definition: videosource.h:902
virtual void Save(QString)
Definition: videosource.h:832
QString deviceid
Definition: videosource.h:419
CaptureCard & parent
Definition: videosource.h:450
void Save(QString destination)
Definition: videosource.h:356
HDHomeRunDeviceList * _devicelist
Definition: videosource.h:974
const FirewireGUID * guid
Definition: videosource.h:690
ChannelTimeout * channel_timeout
Definition: videosource.h:654
unsigned int uint
Definition: compat.h:136
int getCardID(void) const
Definition: videosource.h:709
TransLabelSetting * cardinfo
Definition: videosource.h:569
SourceID * sourceid
Definition: videosource.h:894
QString lastloadeduserid
Definition: videosource.h:158
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, QString _name)
Definition: videosource.h:747
TransLabelSetting * info
Definition: videosource.h:600
DataDirectPassword * password
Definition: videosource.h:155
XMLTVConfig * xmltv
Definition: videosource.h:275
VBoxTunerIndex * cardtuner
Definition: videosource.h:455
HDHomeRunDeviceList devicelist
Definition: videosource.h:412
StartingChannel(const CardInput &parent)
Definition: videosource.h:843
HDHomeRunDeviceID * _deviceid
Definition: videosource.h:970
HDHomeRunTunerIndex * cardtuner
Definition: videosource.h:411
ListBoxSetting * listbox
Definition: videosource.h:836
TransLabelSetting * cardinfo
Definition: videosource.h:516
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:428
virtual void Save(QString destination)
Definition: videosource.h:780
A ConfigurationDialog that uses a ConfigurationGroup all children on one page in a vertical layout...
CaptureCard & parent
Definition: videosource.h:494
InputGroup * inputgrp0
Definition: videosource.h:899
QString getLineupID(void) const
Definition: videosource.h:147
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:383
__u32 type
Definition: videodev2.h:1038
void SetOldValue(const QString &s)
Definition: videosource.h:916
virtual void Save(void)
Definition: videosource.h:779
CaptureCard & parent
Definition: videosource.h:648
Hostname(const CaptureCard &parent)
Definition: videosource.h:735
QString _oldValue
Definition: videosource.h:1042
QString deviceid
Definition: videosource.h:375
virtual void Save(QString destination)
Definition: videosource.h:245
const CaptureCard & m_parent
Definition: videosource.h:294
VBoxTunerIndex * _cardtuner
Definition: videosource.h:1067
void Save(void)
Definition: videosource.h:350
QString cardtuner
Definition: videosource.h:378
DataDirectLineupSelector * lineupselector
Definition: videosource.h:157
virtual void Save(QString)
Definition: videosource.h:872
const FirewireGUID * guid
Definition: videosource.h:675
const char * name
Definition: ParseText.cpp:338
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:683
DialogCode
Definition: mythdialogs.h:21
HDHomeRunDeviceIDList * deviceidlist
Definition: videosource.h:408
TransLabelSetting * size
Definition: videosource.h:585
TunerCardAudioInput * audioinput
Definition: videosource.h:532
void Save(void)
Definition: videosource.h:324
uint GetSourceID(void) const
Definition: videosource.h:80
void SetOldValue(const QString &s)
Definition: videosource.h:1011
TransLabelSetting * m_cardinfo
Definition: videosource.h:547
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
CaptureCard & parent
Definition: videosource.h:513
static bool is_grabber_datadirect(const QString &grabber)
Definition: videosource.h:33
XMLTVGrabber * grabber
Definition: videosource.h:221
TransButtonSetting * diseqc_btn
Definition: videosource.h:660
virtual void Save(void)
void fillSelections(void)
Definition: videosource.h:852
QString tunertype
Definition: videosource.h:423
CetonSetting * tuner
Definition: videosource.h:478
DataDirectButton * button
Definition: videosource.h:156
virtual void Save(QString)
Definition: videosource.h:639
VBoxDeviceID * _deviceid
Definition: videosource.h:1064
TransLabelSetting * cardinfo
Definition: videosource.h:531
TransLabelSetting * size
Definition: videosource.h:601
bool discovered
Definition: videosource.h:425
CaptureCard & parent
Definition: videosource.h:530
TransLabelSetting * _desc
Definition: videosource.h:971
Name * name
Definition: videosource.h:274
QString mythdeviceid
Definition: videosource.h:374
QString _overridedeviceid
Definition: videosource.h:1090
SignalTimeout * signal_timeout
Definition: videosource.h:653
TransLabelSetting * info
Definition: videosource.h:584
QString _oldValue
Definition: videosource.h:1021
virtual void Save(QString)
Definition: videosource.h:217
DVBCardName * cardname
Definition: videosource.h:651
CaptureCard & m_parent
Definition: videosource.h:546
ListBoxSetting * listbox
Definition: videosource.h:788
A ConfigurationDialog that uses a ConfigurationGroup with one child per page.
Base dialog for most dialogs in MythTV using the old UI.
Definition: mythdialogs.h:50
virtual void Save(void)
Definition: videosource.h:831
virtual void Save(void)
Definition: mythstorage.cpp:83
const VideoSource & m_parent
Definition: videosource.h:66
HDHomeRunDeviceID * deviceid
Definition: videosource.h:409
DataDirectUserID * userid
Definition: videosource.h:154
InputGroup * inputgrp1
Definition: videosource.h:900
void Save(QString destination)
Definition: videosource.h:330
static MythThemedMenu * menu
DiSEqCDevTree * diseqc_tree
Definition: videosource.h:659
virtual void Save(void)
Definition: videosource.h:239
QString tunerno
Definition: videosource.h:422
VideoDevice * device
Definition: videosource.h:514
CaptureCard & parent
Definition: videosource.h:599
const VideoSource & parent
Definition: videosource.h:220
VBoxDeviceID * deviceid
Definition: videosource.h:453
void SetOldValue(const QString &s)
Definition: videosource.h:1032
virtual void Save(QString)
Definition: videosource.h:171
QString m_DriverName
Definition: videosource.h:549
VBoxDeviceList devicelist
Definition: videosource.h:456
TransLabelSetting * _desc
Definition: videosource.h:1065
StartingChannel * startchan
Definition: videosource.h:895
ListBoxSetting * listbox
Definition: videosource.h:817
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:343
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:56
DVBCardNum * cardnum
Definition: videosource.h:650
virtual void Save(void)
Definition: videosource.h:808
virtual void Save(QString)
Definition: videosource.h:188
VBoxDeviceList * _devicelist
Definition: videosource.h:1068
Name(const VideoSource &parent)
Definition: videosource.h:265
DVBCardType * cardtype
Definition: videosource.h:652
virtual void Save(QString)
Definition: videosource.h:719
HDHomeRunTunerIndex * _cardtuner
Definition: videosource.h:973
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:317
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
int getSourceID(void) const
Definition: videosource.h:230
DVBTuningDelay * tuning_delay
Definition: videosource.h:658
QString desc
Definition: videosource.h:420
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:48
static int get_datadirect_provider(const QString &grabber)
Definition: videosource.h:38
QString _tuner
Definition: videosource.h:1089
const CardInput & m_parent
Definition: videosource.h:762
virtual void Save(QString)
Definition: videosource.h:809
virtual void Save(QString)
Definition: videosource.h:200
const VideoSource & parent
Definition: videosource.h:153
DVB-S device tree class.
Definition: diseqc.h:75
virtual DialogCode exec(bool, bool)
Definition: videosource.h:805
virtual void Save(QString)
Definition: videosource.h:106
InputName * inputname
Definition: videosource.h:893
TransLabelSetting * info
Definition: videosource.h:617
const VideoSource & parent
Definition: videosource.h:177
UseEIT * useeit
Definition: videosource.h:191
__s32 value
Definition: videodev2.h:1042
CaptureCard & parent
Definition: videosource.h:567
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:25
QString mythdeviceid
Definition: videosource.h:418
int getInputID(void) const
Definition: videosource.h:865
virtual DialogCode exec(bool, bool)
Definition: videosource.h:775