~aacid/unity8/dash_overview

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/fake_scopes.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:
50
50
    QModelIndex parent ( const QModelIndex & index ) const;
51
51
 
52
52
    bool loaded() const override;
 
53
    int count() const override;
53
54
    unity::shell::scopes::ScopeInterface* overviewScope() const override;
54
55
 
55
56
    // This is used as part of implementation of the other C++ code, not API
56
 
    QList<unity::shell::scopes::ScopeInterface *> scopes(bool onlyVisible) const;
57
 
    unity::shell::scopes::ScopeInterface* getScopeFromAll(const QString& scope_id) const;
 
57
    QList<Scope*> scopes() const;
 
58
    QList<Scope*> allScopes() const;
 
59
    Scope* getScopeFromAll(const QString& scope_id) const;
58
60
 
59
61
private Q_SLOTS:
60
62
    void updateScopes();
61
63
 
62
64
private:
63
 
    QList<Scope*> m_scopes;
 
65
    QList<Scope*> m_scopes; // the favorite ones
 
66
    QList<Scope*> m_allScopes;
64
67
    Scope *m_scopesOverview;
65
68
    bool m_loaded;
66
69
    QTimer timer;