30
30
using namespace UpdatePlugin;
40
32
void BackendPlugin::registerTypes(const char *uri)
42
34
Q_ASSERT(uri == QLatin1String("Ubuntu.SystemSettings.Update"));
44
qmlRegisterSingletonType<UpdateManager>(uri, 1, 0, "UpdateManager", qml_update_manager);
45
36
qmlRegisterType<SystemUpdate>(uri, 1, 0, "SystemUpdate");
46
37
qmlRegisterType<Update>(uri, 1, 0, "Update");
47
38
qmlRegisterType<DownloadTracker>(uri, 1, 0, "DownloadTracker");