MythTV
master
mythtv
libs
libmythui
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 "
libmythui/standardsettings.h
"
9
#include "
mythuiexp.h
"
10
11
class
MUI_PUBLIC
DatabaseSettings
:
public
GroupSetting
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
};
39
QString
m_dbHostOverride
;
40
};
41
42
43
#endif
DatabaseSettings
Definition:
dbsettings.h:12
DatabaseSettings::Save
void Save(const QString &)
Definition:
dbsettings.h:20
DatabaseSettings::m_dbHostOverride
QString m_dbHostOverride
Definition:
dbsettings.h:39
DatabaseSettings::isClosing
void isClosing(void)
GroupSetting
Definition:
standardsettings.h:481
StandardSetting::Save
virtual void Save(void)
Definition:
standardsettings.cpp:232
StandardSetting::Load
virtual void Load(void)
Definition:
standardsettings.cpp:213
TransMythUICheckBoxSetting
Definition:
standardsettings.h:447
TransMythUISpinBoxSetting
Definition:
standardsettings.h:379
TransTextEditSetting
Definition:
standardsettings.h:162
mythuiexp.h
MUI_PUBLIC
#define MUI_PUBLIC
Definition:
mythuiexp.h:9
standardsettings.h
Generated on Sat Nov 29 2025 03:16:13 for MythTV by
1.9.4