mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-14 11:32:39 +00:00
11 lines
301 B
C++
11 lines
301 B
C++
|
#include <QtQml>
|
||
|
#include <QtQml/QQmlContext>
|
||
|
|
||
|
#include "plugin.h"
|
||
|
#include "filesystem.h"
|
||
|
|
||
|
void FileSystemPlugin::registerTypes(const char *uri) {
|
||
|
//@uri Pass
|
||
|
qmlRegisterSingletonType<FileSystem>(uri, 1, 0, "FileSystem", [](QQmlEngine*, QJSEngine*) -> QObject* { return new FileSystem; });
|
||
|
}
|