#include "Theme.h" Theme::Theme(QObject *parent) : QObject{parent} { } QColor Theme::fontPrimaryColor() const { return m_fontPrimaryColor; } void Theme::setFontPrimaryColor(const QColor &color) { if (m_fontPrimaryColor != color) { m_fontPrimaryColor = color; emit fontPrimaryColorChanged(); } } QColor Theme::itemNormalColor() const { return m_itemNormalColor; } void Theme::setItemNormalColor(const QColor &color) { if (m_itemNormalColor != color) { m_itemNormalColor = color; emit itemNormalColorChanged(); } } QColor Theme::itemHoverColor() const { return m_itemHoverColor; } void Theme::setItemHoverColor(const QColor &color) { if (m_itemHoverColor != color) { m_itemHoverColor = color; emit itemHoverColorChanged(); } } QColor Theme::windowBackgroundColor() const { return m_windowBackgroundColor; } void Theme::setWindowBackgroundColor(const QColor &color) { if (m_windowBackgroundColor != color) { m_windowBackgroundColor = color; emit windowBackgroundColorChanged(); } } QColor Theme::windowActiveBackgroundColor() const { return m_windowActiveBackgroundColor; } void Theme::setWindowActiveBackgroundColor(const QColor &color) { if (m_windowActiveBackgroundColor != color) { m_windowActiveBackgroundColor = color; emit windowActiveBackgroundColorChanged(); } } QString Theme::desktopImagePath() const { return m_desktopImagePath; } void Theme::setDesktopImagePath(const QString &path) { if (m_desktopImagePath != path) { m_desktopImagePath = path; emit desktopImagePathChanged(); } } bool Theme::blurBehindWindowEnabled() const { return m_blurBehindWindowEnabled; } void Theme::setBlurBehindWindowEnabled(bool enabled) { if (m_blurBehindWindowEnabled != enabled) { m_blurBehindWindowEnabled = enabled; emit blurBehindWindowEnabledChanged(); } }