MythTV
master
mythplugins
mythmusic
mythmusic
generalsettings.h
Go to the documentation of this file.
1
#ifndef GENERALSETTINGS_H
2
#define GENERALSETTINGS_H
3
4
// MythTV
5
#include <
libmythui/mythscreentype.h
>
6
#include <
libmythui/mythuibutton.h
>
7
#include <
libmythui/mythuicheckbox.h
>
8
#include <
libmythui/mythuispinbox.h
>
9
#include <
libmythui/mythuitext.h
>
10
#include <
libmythui/mythuitextedit.h
>
11
12
class
GeneralSettings
:
public
MythScreenType
13
{
14
Q_OBJECT
15
public
:
16
explicit
GeneralSettings
(
MythScreenStack
*parent,
const
char
*name =
nullptr
)
17
:
MythScreenType
(parent, name) {}
18
~GeneralSettings
()
override
=
default
;
19
20
bool
Create
(
void
)
override
;
// MythScreenType
21
22
private
:
23
MythUITextEdit
*
m_musicAudioDevice
{
nullptr
};
24
MythUICheckBox
*
m_musicDefaultUpmix
{
nullptr
};
25
MythUITextEdit
*
m_musicCDDevice
{
nullptr
};
26
MythUITextEdit
*
m_nonID3FileNameFormat
{
nullptr
};
27
MythUICheckBox
*
m_ignoreID3Tags
{
nullptr
};
28
MythUICheckBox
*
m_allowTagWriting
{
nullptr
};
29
MythUIButton
*
m_resetDBButton
{
nullptr
};
30
MythUIButton
*
m_saveButton
{
nullptr
};
31
MythUIButton
*
m_cancelButton
{
nullptr
};
32
33
private
slots:
34
void
slotSave
(
void
);
35
36
void
slotResetDB
(
void
)
const
;
37
static
void
slotDoResetDB
(
bool
ok);
38
};
39
40
#endif
// GENERALSETTINGS_H
GeneralSettings
Definition:
globalsettings.h:135
GeneralSettings::m_cancelButton
MythUIButton * m_cancelButton
Definition:
generalsettings.h:31
GeneralSettings::m_resetDBButton
MythUIButton * m_resetDBButton
Definition:
generalsettings.h:29
GeneralSettings::GeneralSettings
GeneralSettings(MythScreenStack *parent, const char *name=nullptr)
Definition:
generalsettings.h:16
GeneralSettings::slotSave
void slotSave(void)
Definition:
generalsettings.cpp:154
GeneralSettings::m_saveButton
MythUIButton * m_saveButton
Definition:
generalsettings.h:30
GeneralSettings::m_musicAudioDevice
MythUITextEdit * m_musicAudioDevice
Definition:
generalsettings.h:23
GeneralSettings::Create
bool Create(void) override
Definition:
generalsettings.cpp:15
GeneralSettings::~GeneralSettings
~GeneralSettings() override=default
GeneralSettings::m_nonID3FileNameFormat
MythUITextEdit * m_nonID3FileNameFormat
Definition:
generalsettings.h:26
GeneralSettings::slotResetDB
void slotResetDB(void) const
Definition:
generalsettings.cpp:101
GeneralSettings::m_musicCDDevice
MythUITextEdit * m_musicCDDevice
Definition:
generalsettings.h:25
GeneralSettings::m_allowTagWriting
MythUICheckBox * m_allowTagWriting
Definition:
generalsettings.h:28
GeneralSettings::m_ignoreID3Tags
MythUICheckBox * m_ignoreID3Tags
Definition:
generalsettings.h:27
GeneralSettings::m_musicDefaultUpmix
MythUICheckBox * m_musicDefaultUpmix
Definition:
generalsettings.h:24
GeneralSettings::slotDoResetDB
static void slotDoResetDB(bool ok)
Definition:
generalsettings.cpp:107
MythScreenStack
Definition:
mythscreenstack.h:17
MythScreenType
Screen in which all other widgets are contained and rendered.
Definition:
mythscreentype.h:46
MythUIButton
A single button widget.
Definition:
mythuibutton.h:22
MythUICheckBox
A checkbox widget supporting three check states - on,off,half and two conditions - selected and unsel...
Definition:
mythuicheckbox.h:16
MythUITextEdit
A text entry and edit widget.
Definition:
mythuitextedit.h:35
mythscreentype.h
mythuibutton.h
mythuicheckbox.h
mythuispinbox.h
mythuitext.h
mythuitextedit.h
Generated on Tue Oct 28 2025 03:15:54 for MythTV by
1.9.4