~aacid/unity8/dash_overview

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/fake_scopesoverview.h

  • Committer: Albert Astals
  • Date: 2014-08-07 15:27:32 UTC
  • mfrom: (1155.1.29 do_merged)
  • Revision ID: albert.astals@canonical.com-20140807152732-0zf22298f1lsxrz8
Merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    Q_OBJECT
81
81
 
82
82
public:
83
 
    explicit ScopesOverviewResultsModel(const QList<unity::shell::scopes::ScopeInterface *> &scopes, const QString &categoryId, QObject* parent = 0);
 
83
    explicit ScopesOverviewResultsModel(const QList<Scope *> &scopes, const QString &categoryId, QObject* parent = 0);
84
84
 
85
85
    int rowCount(const QModelIndex& parent = QModelIndex()) const override;
86
86
    QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
97
97
    QHash<int, QByteArray> roleNames() const override;
98
98
 
99
99
private:
100
 
    QList<unity::shell::scopes::ScopeInterface *> m_scopes;
 
100
    QList<Scope *> m_scopes;
101
101
    QString m_categoryId;
102
102
};
103
103