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

0001 /*
0002     SPDX-FileCopyrightText: 2013 Sebastian Kügler <sebas@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef PLUGINLOADERTEST_H
0008 #define PLUGINLOADERTEST_H
0009 
0010 #include <QCoreApplication>
0011 #include <plasma/dataengine.h>
0012 
0013 class PluginTest : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     PluginTest();
0018 
0019 private Q_SLOTS:
0020     void listEngines();
0021     void listAppletCategories();
0022     void listContainmentActions();
0023     void listContainmentsOfType();
0024 
0025     void loadDataEngine();
0026 
0027 private:
0028     bool m_buildonly;
0029 };
0030 
0031 class EngineTest : public QObject
0032 {
0033     Q_OBJECT
0034 public:
0035     EngineTest()
0036     {
0037     }
0038 
0039 public Q_SLOTS:
0040     void dataUpdated(const QString &name, const Plasma::DataEngine::Data &data);
0041 };
0042 
0043 #endif