controlpanel/examples/themeplugin/src/cpthemeplugin.h
changeset 32 20bd089f4aaa
parent 31 2c9d3aa5bea2
equal deleted inserted replaced
31:2c9d3aa5bea2 32:20bd089f4aaa
    17 
    17 
    18 #ifndef	CPTHEMEPLUGIN_H
    18 #ifndef	CPTHEMEPLUGIN_H
    19 #define	CPTHEMEPLUGIN_H
    19 #define	CPTHEMEPLUGIN_H
    20 
    20 
    21 #include <qobject.h>
    21 #include <qobject.h>
    22 #include <cppluginplatinterface.h>
    22 #include <cpplugininterface.h>
    23 
    23 
    24 class CpThemePlugin : public QObject, public CpPluginPlatInterface
    24 class CpThemePlugin : public QObject, public CpPluginInterface
    25 {
    25 {
    26     Q_OBJECT
    26     Q_OBJECT
    27     Q_INTERFACES(CpPluginPlatInterface)
    27     Q_INTERFACES(CpPluginInterface)
    28 public:
    28 public:
    29     CpThemePlugin();
    29     CpThemePlugin();
    30     virtual ~CpThemePlugin();
    30     virtual ~CpThemePlugin();
    31     virtual CpSettingFormItemData *createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
    31     virtual QList<CpSettingFormItemData*> createSettingFormItemData(CpItemDataHelper &itemDataHelper) const;
    32 };
    32 };
    33 
    33 
    34 #endif	//CPTHEMEPLUGIN_H
    34 #endif	//CPTHEMEPLUGIN_H