mirror of
https://github.com/QRouland/UTPass.git
synced 2025-01-24 23:56:39 +00:00
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; });
|
|
}
|