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