~unity-team/unity8/slim-greeter

« back to all changes in this revision

Viewing changes to plugins/Unity/Indicators/indicatorsmanager.h

  • Committer: Michael Terry
  • Date: 2015-02-12 15:45:21 UTC
  • mfrom: (1432.1.178 unity8)
  • Revision ID: michael.terry@canonical.com-20150212154521-1qpg3t501ljj88lj
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
{
33
33
    Q_OBJECT
34
34
    Q_PROPERTY(bool loaded READ isLoaded NOTIFY loadedChanged)
 
35
    Q_PROPERTY(QString profile READ profile WRITE setProfile NOTIFY profileChanged)
35
36
public:
36
37
    explicit IndicatorsManager(QObject* parent = 0);
37
38
    ~IndicatorsManager();
38
39
 
39
 
    Q_INVOKABLE void load(const QString& profile);
 
40
    Q_INVOKABLE void load();
40
41
    Q_INVOKABLE void unload();
41
42
 
 
43
    QString profile() const;
 
44
    void setProfile(const QString& profile);
 
45
 
42
46
    Indicator::Ptr indicator(const QString& indicator_name);
43
47
 
44
48
    QList<Indicator::Ptr> indicators();
47
51
 
48
52
Q_SIGNALS:
49
53
    void loadedChanged(bool);
 
54
    void profileChanged(const QString&);
50
55
 
51
56
    void indicatorLoaded(const QString& indicator_name);
52
57
    void indicatorAboutToBeUnloaded(const QString& indicator_name);