mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-14 11:32:39 +00:00
11 lines
271 B
C++
11 lines
271 B
C++
|
#include <QtQml>
|
||
|
#include <QtQml/QQmlContext>
|
||
|
|
||
|
#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; });
|
||
|
}
|