Dummy implement refresh()
commita225cb12a1314d5d671843eda3a657173083b309
authorAlbert Astals <albert.astals@canonical.com>
dateWed 6 Aug 2014, 12:03 (12 years ago)
parentb5afe1c
tests/mocks/Unity/fake_scope.cpp+5
@@ -220,6 +220,11 @@ QVariantMap Scope::customizations() const
220220 return m;
221221}
222222
223+void Scope::refresh()
224+{
225+ qDebug() << "Scope::refresh is currently not implmented in the fake scopes plugin";
226+}
227+
223228unity::shell::scopes::NavigationInterface* Scope::getNavigation(const QString& id)
224229{
225230 if (id.isEmpty())
tests/mocks/Unity/fake_scope.h+2
@@ -73,6 +73,8 @@ public:
7373 Status status() const override;
7474 QVariantMap customizations() const override;
7575
76+ Q_INVOKABLE void refresh() override;
77+
7678protected:
7779
7880 QString m_id;