blob: d487a8339d56b6fed5de6fa2a37a256a5e505abb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#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
|