Files
qt-creator/share/qtcreator/templates/wizards/qtquick1-extension/plugin.h
Kai Koehne 62b20005dd Split up QML Extension wizard in Qt Quick 1 and Qt Quick 2 one
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>
2012-11-26 14:15:12 +01:00

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