on xenial help sign in
Register unity::shell::scopes::OptionSelectorOptionsInterface
commit77f3353b742ed59935871e0b917871a3874ac1fb authorAlbert Astals Cid <albert.astals@canonical.com> dateFri 2 Oct 2015, 13:18 (11 years ago) parent737fd5a
1 file changed+2
tests/mocks/Unity/fake_unity_plugin.cpp+2
tests/mocks/Unity/fake_unity_plugin.cpp+2
@@ -24,6 +24,7 @@
2424#include "fake_categories.h"
2525#include "fake_filters.h"
2626#include "fake_navigation.h"
27+#include "fake_optionselectoroptions.h"
2728#include "fake_previewmodel.h"
2829#include "fake_previewwidgetmodel.h"
2930#include "fake_resultsmodel.h"
@@ -55,4 +56,5 @@ void FakeUnityPlugin::registerTypes(const char *uri)
5556 qmlRegisterUncreatableType<PreviewWidgetModel>(uri, 0, 2, "PreviewWidgetModel", "Can't create new PreviewWidgetModel in QML. Get them from PreviewModel instance.");
5657 qmlRegisterUncreatableType<PreviewStack>(uri, 0, 2, "PreviewStack", "Can't create new PreviewStack in QML. Get them from Scope instance.");
5758 qmlRegisterUncreatableType<unity::shell::scopes::FiltersInterface>(uri, 0, 2, "Filters", "Can't create Filters object in QML. Get them from Scope instance.");
59+ qmlRegisterUncreatableType<unity::shell::scopes::OptionSelectorOptionsInterface>(uri, 0, 2, "OptionSelectorOptions", "Can't create Filters object in QML. Get them from OptionSelector instance.");
5860}