File indexing completed on 2024-12-08 09:46:17

0001 /*
0002     SPDX-FileCopyrightText: 2021 Jonah BrĂ¼chert <jbb@kaidan.im>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KIRIGAMIPLASMADESKTOPUNITS_H
0008 #define KIRIGAMIPLASMADESKTOPUNITS_H
0009 
0010 #include <QObject>
0011 
0012 #include <Kirigami/Units>
0013 
0014 #include <KConfigWatcher>
0015 
0016 class PlasmaDesktopUnits : public Kirigami::Units
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     explicit PlasmaDesktopUnits(QObject *parent = nullptr);
0022 
0023     void updateAnimationSpeed();
0024 
0025 private:
0026     KConfigWatcher::Ptr m_animationSpeedWatcher;
0027 };
0028 
0029 #endif