on xenial help sign in
Register the filters interface
commitc388596b4d894a8a92893855c2877a0f8f809655 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 30 Sep 2015, 16:22 (11 years ago) parent68e1d2b
1 file changed+2
tests/mocks/Unity/fake_unity_plugin.cpp+2
tests/mocks/Unity/fake_unity_plugin.cpp+2
@@ -22,6 +22,7 @@
2222// local
2323#include "fake_scopes.h"
2424#include "fake_categories.h"
25+#include "fake_filters.h"
2526#include "fake_navigation.h"
2627#include "fake_previewmodel.h"
2728#include "fake_previewwidgetmodel.h"
@@ -53,4 +54,5 @@ void FakeUnityPlugin::registerTypes(const char *uri)
5354 qmlRegisterType<PreviewModel>(uri, 0, 2, "FakePreviewModel");
5455 qmlRegisterUncreatableType<PreviewWidgetModel>(uri, 0, 2, "PreviewWidgetModel", "Can't create new PreviewWidgetModel in QML. Get them from PreviewModel instance.");
5556 qmlRegisterUncreatableType<PreviewStack>(uri, 0, 2, "PreviewStack", "Can't create new PreviewStack in QML. Get them from Scope instance.");
57+ qmlRegisterUncreatableType<unity::shell::scopes::FiltersInterface>(uri, 0, 2, "Filters", "Can't create Filters object in QML. Get them from Scope instance.");
5658}