File indexing completed on 2024-05-19 16:37:10

0001 /*
0002     SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #ifndef THEMETEST_H
0007 #define THEMETEST_H
0008 
0009 #include <QTest>
0010 
0011 #include "plasma/svg.h"
0012 #include "plasma/theme.h"
0013 
0014 class ThemeTest : public QObject
0015 {
0016     Q_OBJECT
0017 
0018 public Q_SLOTS:
0019     void initTestCase();
0020     void cleanupTestCase();
0021 
0022 private Q_SLOTS:
0023     void loadSvgIcon();
0024     void testThemeConfig_data();
0025     void testThemeConfig();
0026     void testColors();
0027     void testCompositingChange();
0028 
0029 private:
0030     Plasma::Svg *m_svg;
0031     Plasma::Theme *m_theme;
0032 };
0033 
0034 #endif