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  public:
467 
468  private:
474 };
475 
476 
477 
479 {
480  Q_OBJECT
481 
482  public:
484 
485  public slots:
486  void probeCard(const QString &device);
487 
488  private:
492 };
493 
494 class VideoDevice;
495 class VBIDevice;
496 
498 {
499  Q_OBJECT
500 
501  public:
503 
504  public slots:
505  void probeCard(const QString &device);
506 
507  private:
512 };
513 
515 {
516  Q_OBJECT
517 
518  public:
520 
521  public slots:
522  void probeCard(const QString &device);
523 
524  private:
529 };
530 
531 class ASIDevice;
532 
534 {
535  Q_OBJECT
536 
537  public:
538  V4L2encGroup(CaptureCard& parent);
539 
540  private:
543 
544  QString m_DriverName;
545 
546  protected slots:
547  virtual void triggerChanged(const QString& value);
548  void probeCard(const QString &device);
549 };
550 
552 {
553  Q_OBJECT
554 
555  public:
557 
558  public slots:
559  void probeCard(const QString &device);
560 
561  private:
565 };
566 
568 {
569  Q_OBJECT
570 
571  public:
573 
574  public slots:
575  void probeCard(const QString &device);
576 
577  private:
581 };
582 
584 {
585  Q_OBJECT
586 
587  public:
589 
590  public slots:
591  void probeCard(const QString &device);
592 
593  private:
597 };
598 
599 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
601 {
602  Q_OBJECT
603 
604  public:
606 
607  public slots:
608  void probeApp(const QString & path);
609 
610  private:
613 };
614 #endif
615 
616 class DVBCardNum;
617 class DVBCardName;
618 class DVBCardType;
619 class DVBTuningDelay;
620 
622 {
623  Q_OBJECT
624 
625  friend class DVBExtra;
626 
627  public:
630 
631  virtual void Load(void);
632 
633  virtual void Save(void);
634  virtual void Save(QString /*destination*/) { Save(); }
635 
636  public slots:
637  void probeCard(const QString& cardNumber);
638  void reloadDiseqcTree(const QString &device);
639  void DiSEqCPanel(void);
640  void DVBExtraPanel(void);
641 
642  private:
644 
650 #if 0
652 #endif
656 };
657 
658 class FirewireGUID;
660 {
661  Q_OBJECT
662 
663  public:
664  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
665 
666  public slots:
667  void SetGUID(const QString&);
668 
669  private:
671 };
672 
674 {
675  Q_OBJECT
676 
677  public:
678  FirewireDesc(const FirewireGUID *_guid) :
679  TransLabelSetting(), guid(_guid) { }
680 
681  public slots:
682  void SetGUID(const QString&);
683 
684  private:
686 };
687 
689 {
690  Q_OBJECT
691 public:
692  CaptureCardGroup(CaptureCard& parent);
693 
694 protected slots:
695  virtual void triggerChanged(const QString& value);
696 };
697 
698 class CaptureCard : public QObject, public ConfigurationWizard
699 {
700  Q_OBJECT
701 public:
702  CaptureCard(bool use_card_group = true);
703 
704  int getCardID(void) const { return id->intValue(); }
705  QString GetRawCardType(void) const;
706 
707  void loadByID(int id);
708 
709  static void fillSelections(SelectSetting* setting);
710 
711  void reload(void);
712 
713  virtual void Save(void);
714  virtual void Save(QString /*destination*/) { Save(); }
715 
716 private:
717 
718  class ID: public AutoIncrementDBSetting {
719  public:
720  ID():
721  AutoIncrementDBSetting("capturecard", "cardid") {
722  setVisible(false);
723  setName("ID");
724  };
725  };
726 
728  {
729  public:
730  Hostname(const CaptureCard &parent) :
731  HostnameSetting(this),
732  CaptureCardDBStorage(this, parent, "hostname") { }
733  };
734 
735 private:
736  ID *id;
737 };
738 
740 {
741  protected:
743  const CardInput &_parent,
744  QString _name) :
745  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
746  {
747  }
748 
749  int getInputID(void) const;
750 
751  void fillSelections();
752 
753 protected:
754  virtual QString GetSetClause(MSqlBindings &bindings) const;
755  virtual QString GetWhereClause(MSqlBindings &bindings) const;
756 private:
758 };
759 
760 class MTV_PUBLIC CaptureCardEditor : public QObject, public ConfigurationDialog
761 {
762  Q_OBJECT
763 
764  public:
766 
767  virtual MythDialog* dialogWidget(MythMainWindow* parent,
768  const char* widgetName=0);
769  virtual DialogCode exec(void);
770  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
771  { return exec(); }
772  virtual void Load(void);
773 
774  virtual void Save(void) { }
775  virtual void Save(QString destination) { }
776 
777  public slots:
778  void menu(void);
779  void edit(void);
780  void del(void);
781 
782  private:
784 };
785 
786 class MTV_PUBLIC VideoSourceEditor : public QObject, public ConfigurationDialog
787 {
788  Q_OBJECT
789 
790  public:
792 
793  virtual MythDialog* dialogWidget(MythMainWindow* parent,
794  const char* widgetName=0);
795 
796  bool cardTypesInclude(const int& SourceID,
797  const QString& thecardtype);
798 
799  virtual DialogCode exec(void);
800  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
801  { return exec(); }
802  virtual void Load(void);
803  virtual void Save(void) { }
804  virtual void Save(QString /*destination*/) { }
805 
806  public slots:
807  void menu(void);
808  void edit(void);
809  void del(void);
810 
811  private:
813 };
814 
815 class MTV_PUBLIC CardInputEditor : public QObject, public ConfigurationDialog
816 {
817  Q_OBJECT
818 
819  public:
820  CardInputEditor();
821 
822  virtual DialogCode exec(void);
823  virtual DialogCode exec(bool /*saveOnExec*/, bool /*doLoad*/)
824  { return exec(); }
825  virtual void Load(void);
826  virtual void Save(void) { }
827  virtual void Save(QString /*destination*/) { }
828 
829  private:
830  vector<CardInput*> cardinputs;
832 };
833 
835 {
836  Q_OBJECT
837  public:
838  StartingChannel(const CardInput &parent) :
839  ComboBoxSetting(this, false, 1),
840  CardInputDBStorage(this, parent, "startchan")
841  {
842  setLabel(QObject::tr("Starting channel"));
843  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
844  QObject::tr("This is updated on every successful "
845  "channel change."));
846  }
847  void fillSelections(void) {;}
848  public slots:
849  void SetSourceID(const QString &sourceid);
850 };
851 
852 class CardInput : public QObject, public ConfigurationWizard
853 {
854  Q_OBJECT
855  public:
856  CardInput(const QString & cardtype, const QString & device,
857  bool is_new_input, int cardid);
858  ~CardInput();
859 
860  int getInputID(void) const { return id->intValue(); };
861 
862  void loadByID(int id);
863  void loadByInput(int cardid, QString input);
864  QString getSourceName(void) const;
865 
866  virtual void Save(void);
867  virtual void Save(QString /*destination*/) { Save(); }
868 
869  public slots:
870  void CreateNewInputGroup();
871  void channelScanner();
872  void sourceFetch();
873  void SetSourceID(const QString &sourceid);
874  void UpdateSchedGroup(int value);
875 
876  private:
878  {
879  public:
880  ID() : AutoIncrementDBSetting("capturecard", "cardid")
881  {
882  setVisible(false);
883  setName("CardInputID");
884  }
885  };
886 
887  ID *id;
898 };
899 
900 class HDHomeRunDeviceID;
901 class HDHomeRunTunerIndex;
902 
904 {
905  Q_OBJECT
906 
907  public:
908  HDHomeRunIP();
909 
910  virtual void setEnabled(bool e);
911  void SetOldValue(const QString &s)
912  { _oldValue = s; _oldValue.detach(); };
913 
914  signals:
915  void NewIP(const QString&);
916 
917  public slots:
918  void UpdateDevices(const QString&);
919 
920  private:
921  QString _oldValue;
922 };
923 
925 {
926  Q_OBJECT
927 
928  public:
930 
931  virtual void setEnabled(bool e);
932  void SetOldValue(const QString &s)
933  { _oldValue = s; _oldValue.detach(); };
934 
935  signals:
936  void NewTuner(const QString&);
937 
938  public slots:
939  void UpdateDevices(const QString&);
940 
941  private:
942  QString _oldValue;
943 };
944 
945 
947 {
948  Q_OBJECT
949 
950  public:
952  TransLabelSetting *desc,
953  HDHomeRunIP *cardip,
954  HDHomeRunTunerIndex *cardtuner,
955  HDHomeRunDeviceList *devicelist);
956 
957  void fillSelections(const QString &current);
958 
959  virtual void Load(void);
960 
961  public slots:
962  void UpdateDevices(const QString&);
963 
964  private:
970 
971  QString _oldValue;
972 };
973 
975 {
976  Q_OBJECT
977 
978  public:
979  HDHomeRunDeviceID(const CaptureCard &parent);
980 
981  virtual void Load(void);
982 
983  public slots:
984  void SetIP(const QString&);
985  void SetTuner(const QString&);
986  void SetOverrideDeviceID(const QString&);
987 
988  private:
989  QString _ip;
990  QString _tuner;
992 };
993 
995 class VBoxDeviceID;
996 class VBoxTunerIndex;
997 
999 {
1000  Q_OBJECT
1001 
1002  public:
1003  VBoxIP();
1004 
1005  virtual void setEnabled(bool e);
1006  void SetOldValue(const QString &s)
1007  { _oldValue = s; _oldValue.detach(); };
1008 
1009  signals:
1010  void NewIP(const QString&);
1011 
1012  public slots:
1013  void UpdateDevices(const QString&);
1014 
1015  private:
1016  QString _oldValue;
1017 };
1018 
1020 {
1021  Q_OBJECT
1022 
1023  public:
1024  VBoxTunerIndex();
1025 
1026  virtual void setEnabled(bool e);
1027  void SetOldValue(const QString &s)
1028  { _oldValue = s; _oldValue.detach(); };
1029 
1030  signals:
1031  void NewTuner(const QString&);
1032 
1033  public slots:
1034  void UpdateDevices(const QString&);
1035 
1036  private:
1037  QString _oldValue;
1038 };
1039 
1041 {
1042  Q_OBJECT
1043 
1044  public:
1045  VBoxDeviceIDList(VBoxDeviceID *deviceid,
1046  TransLabelSetting *desc,
1047  VBoxIP *cardip,
1048  VBoxTunerIndex *cardtuner,
1049  VBoxDeviceList *devicelist);
1050 
1051  void fillSelections(const QString &current);
1052 
1053  virtual void Load(void);
1054 
1055  public slots:
1056  void UpdateDevices(const QString&);
1057 
1058  private:
1064 
1065  QString _oldValue;
1066 };
1067 
1069 {
1070  Q_OBJECT
1071 
1072  public:
1073  VBoxDeviceID(const CaptureCard &parent);
1074 
1075  virtual void Load(void);
1076 
1077  public slots:
1078  void SetIP(const QString&);
1079  void SetTuner(const QString&);
1080  void SetOverrideDeviceID(const QString&);
1081 
1082  private:
1083  QString _ip;
1084  QString _tuner;
1086 };
1087 
1089 {
1090  Q_OBJECT
1091 
1092  public:
1093  CetonSetting(const char* label, const char* helptext);
1094 
1095  signals:
1096  void NewValue(const QString&);
1097 
1098  public slots:
1099  void UpdateDevices(const QString&);
1100  void LoadValue(const QString&);
1101 };
1102 
1104 {
1105  Q_OBJECT
1106 
1107  public:
1108  CetonDeviceID(const CaptureCard &parent);
1109 
1110  virtual void Load(void);
1111  void UpdateValues();
1112 
1113  signals:
1114  void LoadedIP(const QString&);
1115  void LoadedCard(const QString&);
1116  void LoadedTuner(const QString&);
1117 
1118  public slots:
1119  void SetIP(const QString&);
1120  void SetTuner(const QString&);
1121 
1122  private:
1123  QString _ip;
1124  QString _card;
1125  QString _tuner;
1127 };
1128 
1129 #endif
void SetOldValue(const QString &s)
Definition: videosource.h:932
QStringList grabberArgs
Definition: videosource.h:179
TransLabelSetting * desc
Definition: videosource.h:407
TransButtonSetting * scan
Definition: videosource.h:891
HDHomeRunIP * _cardip
Definition: videosource.h:967
virtual void Load(void)
TransLabelSetting * cardinfo
Definition: videosource.h:490
DiSEqCDevSettings * externalInputSettings
Definition: videosource.h:893
vector< CardInput * > cardinputs
Definition: videosource.h:830
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:823
DVB-S device settings class.
Definition: diseqc.h:37
TransButtonSetting * srcfetch
Definition: videosource.h:892
QString _tuner
Definition: videosource.h:1125
const CaptureCard & _parent
Definition: videosource.h:1126
CaptureCard & parent
Definition: videosource.h:469
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:921
SpinBoxSetting * instancecount
Definition: videosource.h:896
CetonDeviceID * deviceid
Definition: videosource.h:471
TransButtonSetting * buttonAnalog
Definition: videosource.h:651
TransLabelSetting * desc
Definition: videosource.h:451
TransLabelSetting * desc
Definition: videosource.h:470
VBoxDeviceIDList * deviceidlist
Definition: videosource.h:452
QString lastloadedpassword
Definition: videosource.h:159
QString _overridedeviceid
Definition: videosource.h:991
CheckBoxSetting * schedgroup
Definition: videosource.h:897
virtual void Save(QString)
Definition: videosource.h:827
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:969
const FirewireGUID * guid
Definition: videosource.h:685
ChannelTimeout * channel_timeout
Definition: videosource.h:649
unsigned int uint
Definition: compat.h:136
int getCardID(void) const
Definition: videosource.h:704
TransLabelSetting * cardinfo
Definition: videosource.h:564
SourceID * sourceid
Definition: videosource.h:889
QString lastloadeduserid
Definition: videosource.h:158
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, QString _name)
Definition: videosource.h:742
TransLabelSetting * info
Definition: videosource.h:595
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:838
HDHomeRunDeviceID * _deviceid
Definition: videosource.h:965
HDHomeRunTunerIndex * cardtuner
Definition: videosource.h:411
ListBoxSetting * listbox
Definition: videosource.h:831
TransLabelSetting * cardinfo
Definition: videosource.h:511
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:428
virtual void Save(QString destination)
Definition: videosource.h:775
A ConfigurationDialog that uses a ConfigurationGroup all children on one page in a vertical layout...
CaptureCard & parent
Definition: videosource.h:489
InputGroup * inputgrp0
Definition: videosource.h:894
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:911
virtual void Save(void)
Definition: videosource.h:774
CaptureCard & parent
Definition: videosource.h:643
Hostname(const CaptureCard &parent)
Definition: videosource.h:730
QString _oldValue
Definition: videosource.h:1037
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:1062
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:867
const FirewireGUID * guid
Definition: videosource.h:670
const char * name
Definition: ParseText.cpp:338
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:678
DialogCode
Definition: mythdialogs.h:21
HDHomeRunDeviceIDList * deviceidlist
Definition: videosource.h:408
TransLabelSetting * size
Definition: videosource.h:580
TunerCardAudioInput * audioinput
Definition: videosource.h:527
void Save(void)
Definition: videosource.h:324
uint GetSourceID(void) const
Definition: videosource.h:80
void SetOldValue(const QString &s)
Definition: videosource.h:1006
TransLabelSetting * m_cardinfo
Definition: videosource.h:542
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
CaptureCard & parent
Definition: videosource.h:508
static bool is_grabber_datadirect(const QString &grabber)
Definition: videosource.h:33
XMLTVGrabber * grabber
Definition: videosource.h:221
TransButtonSetting * diseqc_btn
Definition: videosource.h:655
virtual void Save(void)
void fillSelections(void)
Definition: videosource.h:847
QString tunertype
Definition: videosource.h:423
CetonSetting * tuner
Definition: videosource.h:473
DataDirectButton * button
Definition: videosource.h:156
virtual void Save(QString)
Definition: videosource.h:634
VBoxDeviceID * _deviceid
Definition: videosource.h:1059
TransLabelSetting * cardinfo
Definition: videosource.h:526
TransLabelSetting * size
Definition: videosource.h:596
bool discovered
Definition: videosource.h:425
CaptureCard & parent
Definition: videosource.h:525
TransLabelSetting * _desc
Definition: videosource.h:966
Name * name
Definition: videosource.h:274
QString mythdeviceid
Definition: videosource.h:374
QString _overridedeviceid
Definition: videosource.h:1085
SignalTimeout * signal_timeout
Definition: videosource.h:648
TransLabelSetting * info
Definition: videosource.h:579
QString _oldValue
Definition: videosource.h:1016
virtual void Save(QString)
Definition: videosource.h:217
DVBCardName * cardname
Definition: videosource.h:646
CaptureCard & m_parent
Definition: videosource.h:541
ListBoxSetting * listbox
Definition: videosource.h:783
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:826
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:895
void Save(QString destination)
Definition: videosource.h:330
static MythThemedMenu * menu
DiSEqCDevTree * diseqc_tree
Definition: videosource.h:654
virtual void Save(void)
Definition: videosource.h:239
QString tunerno
Definition: videosource.h:422
VideoDevice * device
Definition: videosource.h:509
CaptureCard & parent
Definition: videosource.h:594
const VideoSource & parent
Definition: videosource.h:220
VBoxDeviceID * deviceid
Definition: videosource.h:453
void SetOldValue(const QString &s)
Definition: videosource.h:1027
virtual void Save(QString)
Definition: videosource.h:171
QString m_DriverName
Definition: videosource.h:544
VBoxDeviceList devicelist
Definition: videosource.h:456
TransLabelSetting * _desc
Definition: videosource.h:1060
StartingChannel * startchan
Definition: videosource.h:890
ListBoxSetting * listbox
Definition: videosource.h:812
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:645
virtual void Save(void)
Definition: videosource.h:803
virtual void Save(QString)
Definition: videosource.h:188
VBoxDeviceList * _devicelist
Definition: videosource.h:1063
Name(const VideoSource &parent)
Definition: videosource.h:265
DVBCardType * cardtype
Definition: videosource.h:647
virtual void Save(QString)
Definition: videosource.h:714
HDHomeRunTunerIndex * _cardtuner
Definition: videosource.h:968
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:653
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:1084
const CardInput & m_parent
Definition: videosource.h:757
virtual void Save(QString)
Definition: videosource.h:804
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:800
virtual void Save(QString)
Definition: videosource.h:106
InputName * inputname
Definition: videosource.h:888
TransLabelSetting * info
Definition: videosource.h:612
const VideoSource & parent
Definition: videosource.h:177
UseEIT * useeit
Definition: videosource.h:191
__s32 value
Definition: videodev2.h:1042
CaptureCard & parent
Definition: videosource.h:562
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:860
virtual DialogCode exec(bool, bool)
Definition: videosource.h:770