MythTV  master
dbsettings.h
Go to the documentation of this file.
1 #ifndef DBSETTINGS_H
2 #define DBSETTINGS_H
3 
4 // Qt headers
5 #include <QCoreApplication>
6 
7 // MythTV headers
8 #include "standardsettings.h"
9 
11 {
12  Q_OBJECT
13 
14  public:
15  explicit DatabaseSettings(const QString &DBhostOverride = QString());
17 
18  void Load(void) override; // StandardSetting
19  void Save(QString) {}
20  void Save(void) override; // StandardSetting
21 
22  signals:
23  void isClosing(void);
24 
25  protected:
26  TransTextEditSetting *m_dbHostName {nullptr};
27  TransMythUICheckBoxSetting *m_dbHostPing {nullptr};
28  TransTextEditSetting *m_dbPort {nullptr};
29  TransTextEditSetting *m_dbName {nullptr};
30  TransTextEditSetting *m_dbUserName {nullptr};
31  TransTextEditSetting *m_dbPassword {nullptr};
32  TransMythUICheckBoxSetting *m_localEnabled {nullptr};
33  TransTextEditSetting *m_localHostName {nullptr};
34  TransMythUICheckBoxSetting *m_wolEnabled {nullptr};
35  TransMythUISpinBoxSetting *m_wolReconnect {nullptr};
36  TransMythUISpinBoxSetting *m_wolRetry {nullptr};
37  TransTextEditSetting *m_wolCommand {nullptr};
39 };
40 
41 
42 #endif
#define MPUBLIC
Definition: mythexp.h:10
virtual void Load(void)
virtual void Save(void)
void Save(QString)
Definition: dbsettings.h:19
QString m_DBhostOverride
Definition: dbsettings.h:38