File indexing completed on 2024-05-26 05:08:24

0001 /*
0002     SPDX-FileCopyrightText: 2017 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef KSETTINGSICONS_H
0007 #define KSETTINGSICONS_H
0008 
0009 // ----------------------------------------------------------------------------
0010 // QT Includes
0011 
0012 #include <QWidget>
0013 
0014 // ----------------------------------------------------------------------------
0015 // KDE Includes
0016 
0017 // ----------------------------------------------------------------------------
0018 // Project Includes
0019 
0020 class KSettingsIconsPrivate;
0021 class KSettingsIcons : public QWidget
0022 {
0023     Q_OBJECT
0024     Q_DISABLE_COPY(KSettingsIcons)
0025 
0026 public:
0027     explicit KSettingsIcons(QWidget* parent = nullptr);
0028     ~KSettingsIcons();
0029 
0030 public Q_SLOTS:
0031     void slotResetTheme();
0032 
0033 protected Q_SLOTS:
0034     void slotLoadTheme(const QString &theme);
0035     void slotSetTheme(const int &theme);
0036 
0037 protected:
0038     void loadList();
0039 private:
0040     KSettingsIconsPrivate * const d_ptr;
0041     Q_DECLARE_PRIVATE(KSettingsIcons)
0042 };
0043 #endif
0044