equal
deleted
inserted
replaced
|
1 |
|
2 |
|
3 //This class is used for the test case "testCpPluginInterface()". CpTestPlugin is a subclass from CpPluginInterface. |
|
4 |
|
5 #ifndef THIRDPLUGINFORTEST_H |
|
6 #define THIRDPLUGINFORTEST_H |
|
7 |
|
8 #include <qobject.h> |
|
9 #include <cpplugininterface.h> |
|
10 #include <cplauncherinterface.h> |
|
11 |
|
12 class ThirdPluginForTest : public QObject, public CpPluginInterface, public CpLauncherInterface |
|
13 { |
|
14 Q_OBJECT |
|
15 Q_INTERFACES(CpPluginInterface) |
|
16 Q_INTERFACES(CpLauncherInterface) |
|
17 public: |
|
18 ThirdPluginForTest(); |
|
19 virtual ~ThirdPluginForTest(); |
|
20 virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const; |
|
21 virtual CpBaseSettingView *createSettingView(const QVariant &hint) const; |
|
22 }; |
|
23 |
|
24 #endif |