MythTV  master
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 "standardsettings.h"
9 #include "mythcontext.h"
10 #include "mythtvexp.h"
11 
12 class SignalTimeout;
13 class ChannelTimeout;
14 class UseEIT;
15 class VideoSource;
16 class CaptureCard;
17 class VBIDevice;
18 class CardInput;
19 class CardID;
20 class InputName;
21 class SourceID;
22 class DeviceTree;
23 class DiSEqCDevTree;
24 class DiSEqCDevSettings;
25 class InputGroup;
26 
27 static inline bool is_grabber_external(const QString &grabber)
28 {
29  return !(grabber == "eitonly" ||
30  grabber == "/bin/true");
31 }
32 
33 static inline bool is_grabber_labs(const QString &grabber)
34 {
35  Q_UNUSED(grabber);
36  return false;
37 }
38 
40 {
41  public:
43  const VideoSource &_parent,
44  const QString &name) :
45  SimpleDBStorage(_user, "videosource", name), m_parent(_parent)
46  {
47  }
48 
49  protected:
50  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
51  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
52 
54 };
55 
57 {
58  Q_OBJECT
59 
60  public:
61  VideoSourceSelector(uint _initial_sourceid,
62  QString _card_types,
63  bool _must_have_mplexid);
64 
65  void Load(void) override; // StandardSetting
66 
67  uint GetSourceID(void) const { return getValue().toUInt(); }
68 
69  private:
71  QString m_cardTypes;
73 };
74 
76 {
77  Q_OBJECT
78 
79  public:
80  VideoSourceShow(uint _initial_sourceid);
81 
82  void Load(void) override; // StandardSetting
83 
84  uint GetSourceID(void) const { return getValue().toUInt(); }
85 
86  private:
88 };
89 
92 {
93  Q_OBJECT
94 public:
95  explicit FreqTableSelector(const VideoSource& parent);
96 protected:
97  QString freq;
98 };
99 
101 {
102  public:
103  explicit TransFreqTableSelector(uint _sourceid);
104 
105  void Load(void) override; // StandardSetting
106 
107  void Save(void) override; // StandardSetting
108  virtual void Save(const QString& /*destination*/) { Save(); }
109 
110  void SetSourceID(uint _sourceid);
111 
112  private:
115 };
116 
118 {
119  Q_OBJECT
120 
121  public:
122  XMLTV_generic_config(const VideoSource& _parent, const QString& _grabber,
123  StandardSetting *_setting);
124 
125  void Save(void) override; // StandardSetting
126  virtual void Save(QString) { Save(); }
127 
128  public slots:
129  void RunConfig(void);
130 
131  protected:
133  QString m_grabber;
134  QStringList m_grabberArgs;
135 };
136 
138 {
139 public:
140  EITOnly_config(const VideoSource& _parent, StandardSetting *_setting);
141 
142  void Save(void) override; // StandardSetting
143  virtual void Save(QString) { Save(); }
144 
145 protected:
146  UseEIT *m_useeit {nullptr};
147 };
148 
150 {
151 public:
152  explicit NoGrabber_config(const VideoSource& _parent);
153 
154  void Save(void) override; // StandardSetting
155  virtual void Save(QString) { Save(); }
156 
157 protected:
158  UseEIT *m_useeit {nullptr};
159 };
160 
162 public:
163  IdSetting(const QString &table, const QString &setting):
164  AutoIncrementSetting(table, setting)
165  {
166  setVisible(false);
167  }
168 
169  int intValue() { return getValue().toInt(); }
170  void setValue(int value) override // StandardSetting
171  { setValue(QString::number(value)); }
173 };
174 
175 class VideoSource : public GroupSetting {
176  Q_OBJECT
177 
178  public:
179  VideoSource();
180 
181  int getSourceID(void) const { return m_id->intValue(); };
182 
183  void loadByID(int id);
184 
185  static void fillSelections(GroupSetting* setting);
186  static void fillSelections(MythUIComboBoxSetting* setting);
187  static QString idToName(int id);
188 
189  QString getSourceName(void) const { return m_name->getValue(); };
190 
191  void Load(void) override // StandardSetting
192  {
194  }
195 
196  void Save(void) override // StandardSetting
197  {
198  if (m_name)
200  }
201  bool canDelete(void) override; // GroupSetting
202  void deleteEntry(void) override; // GroupSetting
203 
204  private:
205  class ID: public IdSetting
206  {
207  public:
208  ID() : IdSetting("videosource", "sourceid")
209  {
210  };
211  };
212 
214  {
215  public:
216  explicit Name(const VideoSource &parent) :
217  MythUITextEditSetting(new VideoSourceDBStorage(this, parent, "name"))
218  {
219  setLabel(QObject::tr("Video source name"));
220  }
221  };
222 
223 private:
224  ID *m_id {nullptr};
225  Name *m_name {nullptr};
226 };
227 
229 {
230  public:
232  const CaptureCard &_parent,
233  const QString &_name) :
234  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
235  {
236  }
237 
238 
239 protected:
240  int getCardID(void) const;
241  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
242  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
243 private:
245 };
246 
248 {
249  public:
251  bool rw,
252  const QString &setting) :
253  MythUIComboBoxSetting(new CaptureCardDBStorage(this, parent, setting),
254  rw)
255  {
256  }
257 };
258 
260 {
261  Q_OBJECT
262  public:
263  TunerCardAudioInput(const CaptureCard &parent,
264  QString dev = QString(),
265  QString type = QString());
266 
267  public slots:
268  int fillSelections(const QString &device);
269 
270  private:
271  QString m_lastDevice;
272  QString m_lastCardType;
273 };
274 
276 {
277  Q_OBJECT
278  public:
279  explicit EmptyAudioDevice(const CaptureCard &parent) :
281  "audiodevice"))
282  {
283  setVisible(false);
284  }
285 
286  void Save(void) override // StandardSetting
287  {
288  GetStorage()->SetSaveRequired();
289  setValue("");
290  GetStorage()->Save();
291  }
292  void Save(QString destination)
293  {
294  GetStorage()->SetSaveRequired();
295  setValue("");
296  GetStorage()->Save(destination);
297  }
298 };
299 
301 {
302  Q_OBJECT
303 
304  public:
305  explicit EmptyVBIDevice(const CaptureCard &parent) :
306  MythUITextEditSetting(new CaptureCardDBStorage(this, parent, "vbidevice"))
307  {
308  setVisible(false);
309  };
310 
311  void Save(void) override // StandardSetting
312  {
313  GetStorage()->SetSaveRequired();
314  setValue("");
315  GetStorage()->Save();
316  }
317  void Save(QString destination)
318  {
319  GetStorage()->SetSaveRequired();
320  setValue("");
321  GetStorage()->Save(destination);
322  }
323 };
324 
326 {
327 public:
328  explicit CardType(const CaptureCard& parent);
329  static void fillSelections(MythUIComboBoxSetting* setting);
330 };
331 
332 #ifdef USING_HDHOMERUN
333 
334 class UseHDHomeRunDevice;
336 {
337  public:
338  QString deviceid;
339  QString model;
340  QString cardip;
342 };
343 
344 using HDHomeRunDeviceList = QMap<QString, HDHomeRunDevice>;
345 
346 class HDHomeRunDeviceID;
348 {
349  Q_OBJECT
350 
351  friend class HDHomeRunExtra;
352 
353  public:
355  void SetDeviceCheckBoxes(const QString& devices);
356  QString GetDeviceCheckBoxes(void);
357 
358  private:
359  void FillDeviceList(void);
360 
361  private:
363  HDHomeRunDeviceID *m_deviceId {nullptr};
365 };
366 
368 {
369  Q_OBJECT
370 
371  public:
372  HDHomeRunDeviceID(const CaptureCard &parent,
374  void Load(void) override; // StandardSetting
375  void Save(void) override; // StandardSetting
376 
377  private:
379 };
380 
381 #endif
382 
384 {
385  public:
386  QString mythdeviceid;
387  QString deviceid;
388  QString desc;
389  QString cardip;
390  QString tunerno;
391  QString tunertype;
392  bool inuse;
394 };
395 
396 using VBoxDeviceList = QMap<QString, VBoxDevice>;
397 
398 class VBoxDeviceIDList;
399 class VBoxDeviceID;
400 class VBoxIP;
401 class VBoxTunerIndex;
403 {
404  Q_OBJECT
405 
406  public:
407  VBoxConfigurationGroup(CaptureCard &parent, CardType &cardtype);
408 
409  private:
410  void FillDeviceList(void);
411 
412  private:
414  StandardSetting *m_desc {nullptr};
415  VBoxDeviceIDList *m_deviceIdList {nullptr};
416  VBoxDeviceID *m_deviceId {nullptr};
417  VBoxIP *m_cardIp {nullptr};
418  VBoxTunerIndex *m_cardTuner {nullptr};
420 };
421 
423 {
424  Q_OBJECT
425 
426  public:
427  V4LConfigurationGroup(CaptureCard &parent, CardType &cardtype);
428 
429  public slots:
430  void probeCard(const QString &device);
431 
432  private:
434  TransTextEditSetting *m_cardInfo {nullptr};
435  VBIDevice *m_vbiDev {nullptr};
436 };
437 
438 class VideoDevice;
439 class VBIDevice;
440 
442 {
443  Q_OBJECT
444 
445  public:
446  MPEGConfigurationGroup(CaptureCard &parent, CardType &cardtype);
447 
448  public slots:
449  void probeCard(const QString &device);
450 
451  private:
453  VideoDevice *m_device {nullptr};
454  VBIDevice *m_vbiDevice {nullptr};
455  TransTextEditSetting *m_cardInfo {nullptr};
456 };
457 
459 {
460  Q_OBJECT
461 
462  public:
463  HDPVRConfigurationGroup(CaptureCard &parent, CardType &cardtype);
464 
465  public slots:
466  void probeCard(const QString &device);
467 
468  private:
470  GroupSetting *m_cardInfo {nullptr};
471  TunerCardAudioInput *m_audioInput {nullptr};
472  VBIDevice *m_vbiDevice {nullptr};
473 };
474 
475 class ASIDevice;
476 
478 {
479  Q_OBJECT
480 
481  public:
482  V4L2encGroup(CaptureCard& parent, CardType& cardType);
483 
484  private:
486  TransTextEditSetting *m_cardInfo {nullptr};
487  VideoDevice *m_device {nullptr};
488 
489  QString m_DriverName;
490 
491  protected slots:
492  void probeCard(const QString &device);
493 };
494 
496 {
497  Q_OBJECT
498 
499  public:
500  ASIConfigurationGroup(CaptureCard &parent, CardType &cardType);
501 
502  public slots:
503  void probeCard(const QString &device);
504 
505  private:
507  ASIDevice *m_device {nullptr};
508  TransTextEditSetting *m_cardInfo {nullptr};
509 };
510 
512 {
513  Q_OBJECT
514 
515  public:
516  ImportConfigurationGroup(CaptureCard &parent, CardType &cardtype);
517 
518  public slots:
519  void probeCard(const QString &device);
520 
521  private:
523  TransTextEditSetting *m_info {nullptr};
524  TransTextEditSetting *m_size {nullptr};
525 };
526 
528 {
529  Q_OBJECT
530 
531  public:
532  DemoConfigurationGroup(CaptureCard &parent, CardType &cardtype);
533 
534  public slots:
535  void probeCard(const QString &device);
536 
537  private:
539  TransTextEditSetting *m_info {nullptr};
540  TransTextEditSetting *m_size {nullptr};
541 };
542 
543 #if !defined( USING_MINGW ) && !defined( _MSC_VER )
544 class ExternalConfigurationGroup: public GroupSetting
545 {
546  Q_OBJECT
547 
548  public:
549  ExternalConfigurationGroup(CaptureCard &parent, CardType &cardtype);
550 
551  public slots:
552  void probeApp(const QString & path);
553 
554  private:
555  CaptureCard &m_parent;
556  TransTextEditSetting *m_info {nullptr};
557 };
558 #endif
559 
560 class DVBCardNum;
561 class DVBCardName;
562 class DVBCardType;
563 class DVBTuningDelay;
564 
566 {
567  Q_OBJECT
568 
569  friend class DVBExtra;
570 
571  public:
572  DVBConfigurationGroup(CaptureCard& a_parent, CardType& cardType);
574 
575  void Load(void) override; // StandardSetting
576 
577  void Save(void) override; // StandardSetting
578 
579  public slots:
580  void probeCard(const QString& videodevice);
581  void reloadDiseqcTree(const QString &device);
582 
583  private:
585 
586  DVBCardNum *m_cardNum {nullptr};
587  DVBCardName *m_cardName {nullptr};
588  DVBCardType *m_cardType {nullptr};
589  SignalTimeout *m_signalTimeout {nullptr};
590  ChannelTimeout *m_channelTimeout {nullptr};
591 #if 0
592  TransButtonSetting *m_buttonAnalog {nullptr};
593 #endif
594  DVBTuningDelay *m_tuningDelay {nullptr};
595  DiSEqCDevTree *m_diseqcTree {nullptr};
596  DeviceTree *m_diseqcBtn {nullptr};
597 };
598 
599 class FirewireGUID;
601 {
602  Q_OBJECT
603 
604  public:
605  FirewireModel(const CaptureCard &parent, const FirewireGUID*);
606 
607  public slots:
608  void SetGUID(const QString&);
609 
610  private:
611  const FirewireGUID *m_guid {nullptr};
612 };
613 
615 {
616  Q_OBJECT
617 
618  public:
619  explicit FirewireDesc(const FirewireGUID *_guid) :
620  GroupSetting(), m_guid(_guid) { }
621 
622  public slots:
623  void SetGUID(const QString&);
624 
625  private:
626  const FirewireGUID *m_guid {nullptr};
627 };
628 
630 {
631  Q_OBJECT
632 public:
633  explicit CaptureCardGroup(CaptureCard& parent);
634 };
635 
636 class CaptureCard : public GroupSetting
637 {
638  Q_OBJECT
639 public:
640  explicit CaptureCard(bool use_card_group = true);
641 
642  int getCardID(void) const { return m_id->intValue(); }
643  QString GetRawCardType(void) const;
644 
645  void loadByID(int id);
646 
647  static void fillSelections(GroupSetting* setting);
648 
649  void reload(void);
650 
651  void Save(void) override; // StandardSetting
652 
653  bool canDelete(void) override; // GroupSetting
654  void deleteEntry(void) override; // GroupSetting
655 
656 private:
657 
658  class ID: public IdSetting {
659  public:
660  ID():
661  IdSetting("capturecard", "cardid")
662  {
663  }
664  };
665 
666  class Hostname : public StandardSetting
667  {
668  public:
669  explicit Hostname(const CaptureCard &parent) :
670  StandardSetting(new CaptureCardDBStorage(this, parent, "hostname"))
671  {
672  setVisible(false);
673  setValue(gCoreContext->GetHostName());
674  }
675  void edit(MythScreenType *) override {} // StandardSetting
676  void resultEdit(DialogCompletionEvent *) override {} // StandardSetting
677  };
678 
679 private:
680  ID *m_id {nullptr};
681 };
682 
684 {
685  public:
687  const CardInput &_parent,
688  const QString& _name) :
689  SimpleDBStorage(_user, "capturecard", _name), m_parent(_parent)
690  {
691  }
692 
693  int getInputID(void) const;
694 
695  protected:
696  void fillSelections();
697 
698  QString GetSetClause(MSqlBindings &bindings) const override; // SimpleDBStorage
699  QString GetWhereClause(MSqlBindings &bindings) const override; // SimpleDBStorage
700 
701  private:
703 };
704 
706 {
707  Q_OBJECT
708 
709  public:
710  CaptureCardButton(const QString &label, const QString &value)
711  : ButtonStandardSetting(label),
712  m_value(value)
713  {
714  }
715 
716  void edit(MythScreenType *screen) override; // ButtonStandardSetting
717 
718  signals:
719  void Clicked(const QString &choice);
720 
721  private:
722  QString m_value;
723 };
724 
726 {
727  Q_OBJECT
728 
729  public:
731 
732  void Load(void) override; // StandardSetting
733 
734  void AddSelection(const QString &label, const char *slot);
735 
736  public slots:
737  void ShowDeleteAllCaptureCardsDialog(void);
738  void ShowDeleteAllCaptureCardsDialogOnHost(void);
739  void DeleteAllCaptureCards(bool);
740  void DeleteAllCaptureCardsOnHost(bool);
741  void AddNewCard(void);
742 };
743 
745 {
746  Q_OBJECT
747 
748  public:
750 
751  static bool cardTypesInclude(const int& SourceID,
752  const QString& thecardtype);
753 
754  void Load(void) override; // StandardSetting
755  void AddSelection(const QString &label, const char *slot);
756 
757  public slots:
758  void NewSource(void);
759  void ShowDeleteAllSourcesDialog(void);
760  void DeleteAllSources(bool);
761 };
762 
764 {
765  Q_OBJECT
766 
767  public:
768  CardInputEditor();
769 
770  void Load(void) override; // StandardSetting
771 
772  private:
773  vector<CardInput*> m_cardInputs;
774 };
775 
777 {
778  Q_OBJECT
779  public:
780  explicit StartingChannel(const CardInput &parent) :
781  MythUIComboBoxSetting(new CardInputDBStorage(this, parent, "startchan"),
782  false)
783  {
784  setLabel(QObject::tr("Starting channel"));
785  setHelpText(QObject::tr("Starting Live TV channel.") + " " +
786  QObject::tr("This is updated on every successful "
787  "channel change."));
788  }
789  void fillSelections(void) {;}
790  public slots:
791  void SetSourceID(const QString &sourceid);
792 };
793 
794 class CardInput : public GroupSetting
795 {
796  Q_OBJECT
797  public:
798  CardInput(const QString & cardtype, const QString & device,
799  int cardid);
800  ~CardInput();
801 
802  int getInputID(void) const { return m_id->intValue(); };
803 
804  void loadByID(int id);
805  void loadByInput(int cardid, const QString& inputname);
806  QString getSourceName(void) const;
807 
808  void Save(void) override; // StandardSetting
809 
810  public slots:
811  void CreateNewInputGroup();
812  void channelScanner();
813  void sourceFetch();
814  void SetSourceID(const QString &sourceid);
815  void CreateNewInputGroupSlot(const QString &name);
816 
817  private:
818  class ID: public IdSetting
819  {
820  public:
821  ID() : IdSetting("capturecard", "cardid")
822  {
823  }
824  };
825 
826  ID *m_id {nullptr};
827  InputName *m_inputName {nullptr};
828  SourceID *m_sourceId {nullptr};
829  StartingChannel *m_startChan {nullptr};
830  ButtonStandardSetting *m_scan {nullptr};
831  ButtonStandardSetting *m_srcFetch {nullptr};
832  DiSEqCDevSettings *m_externalInputSettings {nullptr};
833  InputGroup *m_inputGrp0 {nullptr};
834  InputGroup *m_inputGrp1 {nullptr};
835  MythUISpinBoxSetting *m_instanceCount {nullptr};
836  MythUICheckBoxSetting *m_schedGroup {nullptr};
837 };
838 
840 class VBoxDeviceID;
841 class VBoxTunerIndex;
842 
844 {
845  Q_OBJECT
846 
847  public:
848  VBoxIP();
849 
850  void setEnabled(bool e) override; // StandardSetting
851  void SetOldValue(const QString &s)
852  { m_oldValue = s; };
853 
854  signals:
855  void NewIP(const QString&);
856 
857  public slots:
858  void UpdateDevices(const QString&);
859 
860  private:
861  QString m_oldValue;
862 };
863 
865 {
866  Q_OBJECT
867 
868  public:
869  VBoxTunerIndex();
870 
871  void setEnabled(bool e) override; // StandardSetting
872  void SetOldValue(const QString &s)
873  { m_oldValue = s; };
874 
875  signals:
876  void NewTuner(const QString&);
877 
878  public slots:
879  void UpdateDevices(const QString&);
880 
881  private:
882  QString m_oldValue;
883 };
884 
886 {
887  Q_OBJECT
888 
889  public:
890  VBoxDeviceIDList(VBoxDeviceID *deviceid,
891  StandardSetting *desc,
892  VBoxIP *cardip,
893  VBoxTunerIndex *cardtuner,
894  VBoxDeviceList *devicelist,
895  const CaptureCard &parent);
896 
897  void fillSelections(const QString &current);
898 
899  void Load(void) override; // StandardSetting
900 
901  public slots:
902  void UpdateDevices(const QString&);
903 
904  private:
911 
912  QString m_oldValue;
913 };
914 
916 {
917  Q_OBJECT
918 
919  public:
920  explicit VBoxDeviceID(const CaptureCard &parent);
921 
922  void Load(void) override; // StandardSetting
923 
924  public slots:
925  void SetIP(const QString&);
926  void SetTuner(const QString&);
927  void SetOverrideDeviceID(const QString&);
928 
929  private:
930  QString m_ip;
931  QString m_tuner;
933 };
934 
936 {
937  Q_OBJECT
938 
939  public:
940  CetonSetting(const char* label, const char* helptext);
941 
942  signals:
943  void NewValue(const QString&);
944 
945  public slots:
946  void UpdateDevices(const QString&);
947  void LoadValue(const QString&);
948 };
949 
951 {
952  Q_OBJECT
953 
954  public:
955  explicit CetonDeviceID(const CaptureCard &parent);
956 
957  void Load(void) override; // StandardSetting
958  void UpdateValues();
959 
960  signals:
961  void LoadedIP(const QString&);
962  void LoadedCard(const QString&);
963  void LoadedTuner(const QString&);
964 
965  public slots:
966  void SetIP(const QString&);
967  void SetTuner(const QString&);
968 
969  private:
970  QString m_ip;
971  QString m_card;
972  QString m_tuner;
974 };
975 
976 #endif
QString m_ip
Definition: videosource.h:930
CaptureCard & m_parent
Definition: videosource.h:433
unsigned int slots[4]
Definition: element.c:38
QString getSourceName(void) const
Definition: videosource.h:189
DVB-S device settings class.
Definition: diseqc.h:35
CaptureCardDBStorage(StorageUser *_user, const CaptureCard &_parent, const QString &_name)
Definition: videosource.h:231
vector< CardInput * > m_cardInputs
Definition: videosource.h:773
CaptureCardComboBoxSetting(const CaptureCard &parent, bool rw, const QString &setting)
Definition: videosource.h:250
QString cardip
Definition: videosource.h:389
UseHDHomeRunDevice * checkbox
Definition: videosource.h:341
VBoxDeviceID * m_deviceId
Definition: videosource.h:905
QString m_oldValue
Definition: videosource.h:912
void resultEdit(DialogCompletionEvent *) override
Definition: videosource.h:676
CaptureCard & m_parent
Definition: videosource.h:538
virtual void Load(void)
const CaptureCard & m_parent
Definition: videosource.h:910
QString deviceid
Definition: videosource.h:387
HDHomeRunConfigurationGroup & group
Definition: videosource.h:378
void Save(QString destination)
Definition: videosource.h:317
QMap< QString, HDHomeRunDevice > HDHomeRunDeviceList
Definition: videosource.h:344
void Save(void) override
Definition: videosource.h:311
MythCoreContext * gCoreContext
This global variable contains the MythCoreContext instance for the app.
int getCardID(void) const
Definition: videosource.h:642
QStringList m_grabberArgs
Definition: videosource.h:134
StartingChannel(const CardInput &parent)
Definition: videosource.h:780
Hostname(const CaptureCard &parent)
Definition: videosource.h:669
QString deviceid
Definition: videosource.h:338
const CaptureCard & m_parent
Definition: videosource.h:244
QMap< QString, QVariant > MSqlBindings
typedef for a map of string -> string bindings for generic queries.
Definition: mythdbcon.h:98
void edit(MythScreenType *) override
Definition: videosource.h:675
FirewireDesc(const FirewireGUID *_guid)
Definition: videosource.h:619
VERBOSE_PREAMBLE false
Definition: verbosedefs.h:85
CardInputDBStorage(StorageUser *_user, const CardInput &_parent, const QString &_name)
Definition: videosource.h:686
#define MTV_PUBLIC
Definition: mythtvexp.h:15
uint GetSourceID(void) const
Definition: videosource.h:67
void SetOldValue(const QString &s)
Definition: videosource.h:851
HDHomeRunDeviceList m_deviceList
Definition: videosource.h:364
QDateTime current(bool stripped)
Returns current Date and Time in UTC.
Definition: mythdate.cpp:10
VBoxDeviceList m_deviceList
Definition: videosource.h:419
void fillSelections(void)
Definition: videosource.h:789
QString tunertype
Definition: videosource.h:391
VBoxIP * m_cardIp
Definition: videosource.h:907
void Load(void) override
Definition: videosource.h:191
bool discovered
Definition: videosource.h:393
uint m_initialSourceId
Definition: videosource.h:87
unsigned int uint
Definition: compat.h:140
QString m_tuner
Definition: videosource.h:972
CaptureCard & m_parent
Definition: videosource.h:452
CaptureCard & m_parent
Definition: videosource.h:485
const char * m_name
Definition: ParseText.cpp:328
const VideoSource & m_parent
Definition: videosource.h:53
const CaptureCard & m_parent
Definition: videosource.h:973
virtual void Save(void)
QString m_card
Definition: videosource.h:971
void Save(QString destination)
Definition: videosource.h:292
QString tunerno
Definition: videosource.h:390
CaptureCard & m_parent
Definition: videosource.h:413
QString m_overrideDeviceId
Definition: videosource.h:932
int intValue()
Definition: videosource.h:169
void SetOldValue(const QString &s)
Definition: videosource.h:872
const VideoSource & m_parent
Definition: videosource.h:132
virtual void Save(QString)
Definition: videosource.h:126
CaptureCard & m_parent
Definition: videosource.h:506
QString m_DriverName
Definition: videosource.h:489
void setValue(int value) override
Definition: videosource.h:170
virtual void Save(const QString &)
Definition: videosource.h:108
CaptureCardButton(const QString &label, const QString &value)
Definition: videosource.h:710
EmptyVBIDevice(const CaptureCard &parent)
Definition: videosource.h:305
VideoSourceDBStorage(StorageUser *_user, const VideoSource &_parent, const QString &name)
Definition: videosource.h:42
virtual void Save(QString)
Definition: videosource.h:143
uint GetSourceID(void) const
Definition: videosource.h:84
Name(const VideoSource &parent)
Definition: videosource.h:216
VBoxTunerIndex * m_cardTuner
Definition: videosource.h:908
CaptureCard & m_parent
Definition: videosource.h:522
EmptyAudioDevice(const CaptureCard &parent)
Definition: videosource.h:279
QString m_ip
Definition: videosource.h:970
int getSourceID(void) const
Definition: videosource.h:181
QString m_oldValue
Definition: videosource.h:861
QString m_tuner
Definition: videosource.h:931
Screen in which all other widgets are contained and rendered.
CaptureCard & m_parent
Definition: videosource.h:584
QString desc
Definition: videosource.h:388
StandardSetting * m_desc
Definition: videosource.h:906
static bool is_grabber_labs(const QString &grabber)
Definition: videosource.h:33
QString GetHostName(void)
void Save(void) override
Definition: videosource.h:286
Event dispatched from MythUI modal dialogs to a listening class containing a result of some form.
Definition: mythdialogbox.h:37
void Save(void) override
Definition: videosource.h:196
IdSetting(const QString &table, const QString &setting)
Definition: videosource.h:163
const CardInput & m_parent
Definition: videosource.h:702
virtual void Save(QString)
Definition: videosource.h:155
DVB-S device tree class.
Definition: diseqc.h:73
virtual void setValue(const QString &newValue)
VBoxDeviceList * m_deviceList
Definition: videosource.h:909
static bool is_grabber_external(const QString &grabber)
Definition: videosource.h:27
QMap< QString, VBoxDevice > VBoxDeviceList
Definition: videosource.h:396
CaptureCard & m_parent
Definition: videosource.h:469
QString mythdeviceid
Definition: videosource.h:386
int getInputID(void) const
Definition: videosource.h:802
QString m_oldValue
Definition: videosource.h:882