File indexing completed on 2024-06-23 05:31:11
0001 /* 0002 SPDX-FileCopyrightText: 2022 Tanbir Jishan <tantalising007@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "colorssettings.h" 0010 0011 #include <kdedmodule.h> 0012 0013 class AccentColorService : public KDEDModule 0014 { 0015 Q_OBJECT 0016 Q_CLASSINFO("D-Bus Interface", "org.kde.plasmashell.accentColor") 0017 public: 0018 explicit AccentColorService(QObject *parent, const QList<QVariant> &); 0019 0020 public Q_SLOTS: 0021 void setAccentColor(unsigned accentColor); 0022 0023 private: 0024 ColorsSettings *m_settings; 0025 };