5#ifndef DAPPLICATIONSETTINGS_H
6#define DAPPLICATIONSETTINGS_H
8#include <dtkwidget_global.h>
11#if DTK_VERSION < DTK_VERSION_CHECK(6, 0, 0, 0)
13DWIDGET_BEGIN_NAMESPACE
15class DApplicationSettingsPrivate;
16class DApplicationSettings :
public QObject,
public DCORE_NAMESPACE::DObject
19 D_DECLARE_PRIVATE(DApplicationSettings)
22 Q_DECL_DEPRECATED_X(
"The feature has been moved to DGuiApplicationHelper, We can disable it by setting DGuiApplicationHelper::DontSaveApplicationTheme enum with setAttribute.")
23 explicit DApplicationSettings(QObject *parent =
nullptr);
26 D_PRIVATE_SLOT(
void _q_onChanged(const QString &))
27 D_PRIVATE_SLOT(
void _q_onPaletteTypeChanged())