=== modified file 'tests/mocks/Unity/fake_previewmodel.cpp'
--- tests/mocks/Unity/fake_previewmodel.cpp 2014-08-11 09:57:29 +0000
+++ tests/mocks/Unity/fake_previewmodel.cpp 2015-02-11 13:11:05 +0000
@@ -34,6 +34,7 @@
// we have one column by default
PreviewWidgetModel* columnModel = new PreviewWidgetModel(this);
m_previewWidgetModels.append(columnModel);
+ connect(this, SIGNAL(triggered()), this, SLOT(triggeredSlot()));
}
void PreviewModel::setWidgetColumnCount(int count)
@@ -80,3 +81,7 @@
Q_EMIT loadedChanged();
}
}
+
+void PreviewModel::triggeredSlot(QString const&, QString const&, QVariantMap const&) {
+ //open scope here
+}
=== modified file 'tests/mocks/Unity/fake_previewmodel.h'
--- tests/mocks/Unity/fake_previewmodel.h 2014-08-11 09:57:29 +0000
+++ tests/mocks/Unity/fake_previewmodel.h 2015-02-11 13:13:30 +0000
@@ -42,6 +42,9 @@
Q_INVOKABLE void setLoaded(bool); // Only available for testing
+private Q_SLOTS:
+ void triggeredSlot(QString const&, QString const&, QVariantMap const&);
+
private:
QList<PreviewWidgetModel*> m_previewWidgetModels;
bool m_loaded;