forked from qt-creator/qt-creator
Task-number: QTCREATORBUG-8269 Change-Id: I6b4a4d54499302354606f9446f68b9088daad1e8 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
18 lines
380 B
C++
18 lines
380 B
C++
#ifndef %ProjectName:h%_PLUGIN_H
|
|
#define %ProjectName:h%_PLUGIN_H
|
|
|
|
#include <QDeclarativeExtensionPlugin>
|
|
|
|
class %ProjectName:s%Plugin : public QDeclarativeExtensionPlugin
|
|
{
|
|
Q_OBJECT
|
|
#if QT_VERSION >= 0x050000
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
|
|
#endif
|
|
|
|
public:
|
|
void registerTypes(const char *uri);
|
|
};
|
|
|
|
#endif // %ProjectName:h%_PLUGIN_H
|