@@ -42,6 +42,7 @@ void UnityPlugin::registerTypes(const char *uri)
43 Q_ASSERT(uri == QLatin1String("Unity"));
43 Q_ASSERT(uri == QLatin1String("Unity"));
44 qmlRegisterUncreatableType<Preview>(uri, 0, 1, "Preview", "Can't create Preview object in QML.");
44 qmlRegisterUncreatableType<Preview>(uri, 0, 1, "Preview", "Can't create Preview object in QML.");
45+ qmlRegisterUncreatableType<PreviewAction>(uri, 0, 1, "PreviewAction", "Can't create PreviewAction object in QML.");
45 qmlRegisterType<Scope>(uri, 0, 1, "Scope");
46 qmlRegisterType<Scope>(uri, 0, 1, "Scope");
46 qmlRegisterType<Scopes>(uri, 0, 1, "Scopes");
47 qmlRegisterType<Scopes>(uri, 0, 1, "Scopes");
47 qmlRegisterType<Categories>(uri, 0, 1, "Categories");
48 qmlRegisterType<Categories>(uri, 0, 1, "Categories");