2010-09-28 11:55:30 +02:00
|
|
|
#include "%ProjectName:l%_plugin.%CppHeaderSuffix%"
|
2010-09-17 16:53:33 +02:00
|
|
|
#include "%ObjectName:l%.%CppHeaderSuffix%"
|
2010-03-19 13:52:16 +01:00
|
|
|
|
2010-09-17 16:53:33 +02:00
|
|
|
#include <QtDeclarative/qdeclarative.h>
|
2010-03-19 13:52:16 +01:00
|
|
|
|
2011-01-11 15:25:04 +01:00
|
|
|
void %ProjectName:s%Plugin::registerTypes(const char *uri)
|
2010-03-19 13:52:16 +01:00
|
|
|
{
|
2010-04-08 10:51:44 +02:00
|
|
|
qmlRegisterType<%ObjectName%>(uri, 1, 0, "%ObjectName%");
|
2010-03-19 13:52:16 +01:00
|
|
|
}
|
|
|
|
|
|
2011-01-11 15:25:04 +01:00
|
|
|
Q_EXPORT_PLUGIN2(%ProjectName:s%, %ProjectName:s%Plugin)
|