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
9#include "mythuiexp.h"
10
12{
13 Q_OBJECT
14
15 public:
16 explicit DatabaseSettings(QString DBhostOverride = QString());
17 ~DatabaseSettings() override;
18
19 void Load(void) override; // StandardSetting
20 void Save(const QString& /*destination*/) {}
21 void Save(void) override; // StandardSetting
22
23 signals:
24 void isClosing(void);
25
26 protected:
27 TransTextEditSetting *m_dbHostName {nullptr};
28 TransMythUICheckBoxSetting *m_dbHostPing {nullptr};
29 TransTextEditSetting *m_dbPort {nullptr};
30 TransTextEditSetting *m_dbName {nullptr};
31 TransTextEditSetting *m_dbUserName {nullptr};
32 TransTextEditSetting *m_dbPassword {nullptr};
33 TransMythUICheckBoxSetting *m_localEnabled {nullptr};
34 TransTextEditSetting *m_localHostName {nullptr};
35 TransMythUICheckBoxSetting *m_wolEnabled {nullptr};
36 TransMythUISpinBoxSetting *m_wolReconnect {nullptr};
37 TransMythUISpinBoxSetting *m_wolRetry {nullptr};
38 TransTextEditSetting *m_wolCommand {nullptr};
40};
41
42
43#endif
void Save(const QString &)
Definition: dbsettings.h:20
QString m_dbHostOverride
Definition: dbsettings.h:39
void isClosing(void)
virtual void Save(void)
virtual void Load(void)
#define MUI_PUBLIC
Definition: mythuiexp.h:9