File indexing completed on 2024-04-28 05:27:05
0001 /* 0002 SPDX-FileCopyrightText: 2023 Fushan Wen <qydwhotmail@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include <QObject> 0010 0011 class GSDXSettingsManager : public QObject 0012 { 0013 Q_OBJECT 0014 Q_CLASSINFO("D-Bus Interface", "org.gtk.Settings") 0015 0016 Q_PROPERTY(qlonglong FontconfigTimestamp READ FontconfigTimestamp) 0017 Q_PROPERTY(QString Modules READ Modules) 0018 Q_PROPERTY(bool EnableAnimations READ EnableAnimations) 0019 0020 public: 0021 explicit GSDXSettingsManager(QObject *parent); 0022 ~GSDXSettingsManager() override; 0023 0024 public: 0025 void modulesChanged(); 0026 void enableAnimationsChanged(); 0027 0028 private: 0029 qlonglong FontconfigTimestamp() const; 0030 QString Modules() const; 0031 bool EnableAnimations() const; 0032 };