mirror of
https://github.com/QRouland/UTPass.git
synced 2024-11-09 01:02:40 +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; });
|
|
}
|