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