MythTV
master
mythtv
libs
libmyth
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
10
#include "
mythexp.h
"
11
12
class
MPUBLIC
DatabaseSettings
:
public
GroupSetting
13
{
14
Q_OBJECT
15
16
public
:
17
explicit
DatabaseSettings
(QString DBhostOverride = QString());
18
~
DatabaseSettings
()
override
;
19
20
void
Load
(
void
)
override
;
// StandardSetting
21
void
Save
(
const
QString&
/*destination*/
) {}
22
void
Save
(
void
)
override
;
// StandardSetting
23
24
signals:
25
void
isClosing(
void
);
26
27
protected
:
28
TransTextEditSetting
*m_dbHostName {
nullptr
};
29
TransMythUICheckBoxSetting
*m_dbHostPing {
nullptr
};
30
TransTextEditSetting
*m_dbPort {
nullptr
};
31
TransTextEditSetting
*m_dbName {
nullptr
};
32
TransTextEditSetting
*m_dbUserName {
nullptr
};
33
TransTextEditSetting
*m_dbPassword {
nullptr
};
34
TransMythUICheckBoxSetting
*m_localEnabled {
nullptr
};
35
TransTextEditSetting
*m_localHostName {
nullptr
};
36
TransMythUICheckBoxSetting
*m_wolEnabled {
nullptr
};
37
TransMythUISpinBoxSetting
*m_wolReconnect {
nullptr
};
38
TransMythUISpinBoxSetting
*m_wolRetry {
nullptr
};
39
TransTextEditSetting
*m_wolCommand {
nullptr
};
40
QString
m_dbHostOverride
;
41
};
42
43
44
#endif
MPUBLIC
#define MPUBLIC
Definition:
mythexp.h:10
TransMythUICheckBoxSetting
Definition:
standardsettings.h:411
TransTextEditSetting
Definition:
standardsettings.h:161
mythexp.h
TransMythUISpinBoxSetting
Definition:
standardsettings.h:353
DatabaseSettings::m_dbHostOverride
QString m_dbHostOverride
Definition:
dbsettings.h:40
DatabaseSettings
Definition:
dbsettings.h:12
StandardSetting::Load
virtual void Load(void)
Definition:
standardsettings.cpp:213
StandardSetting::Save
virtual void Save(void)
Definition:
standardsettings.cpp:232
DatabaseSettings::Save
void Save(const QString &)
Definition:
dbsettings.h:21
standardsettings.h
GroupSetting
Definition:
standardsettings.h:435
Generated on Mon Jan 6 2025 03:16:42 for MythTV by
1.8.17