File indexing completed on 2024-04-28 05:36:25

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