forked from QRouland/UTPass
11 lines
245 B
C++
11 lines
245 B
C++
|
#include <QtQml>
|
||
|
|
||
|
#include "plugin.h"
|
||
|
#include "pass.h"
|
||
|
|
||
|
void PassPlugin::registerTypes(const char *uri)
|
||
|
{
|
||
|
//@uri Pass
|
||
|
qmlRegisterSingletonType<Pass>(uri, 1, 0, "Pass", [](QQmlEngine *, QJSEngine *) -> QObject * { return new Pass; });
|
||
|
}
|