~lukas-kde/unity8/appdrawer-search-more

« back to all changes in this revision

Viewing changes to plugins/Unity/Launcher/ualwrapper.h

merge lp:~mzanetti/unity8/appdrawer-recent-apps

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    Q_OBJECT
22
22
public:
23
23
    struct AppInfo {
 
24
        QString appId;
24
25
        bool valid = false;
25
26
        QString name;
26
27
        QString icon;
27
28
        QString description;
28
29
        QStringList keywords;
 
30
        uint popularity = 0;
29
31
    };
30
32
 
31
33
    UalWrapper(QObject* parent = nullptr);
33
35
    static QStringList installedApps();
34
36
    static AppInfo getApplicationInfo(const QString &appId);
35
37
 
 
38
Q_SIGNALS:
 
39
    void appAdded(const QString &appId);
 
40
    void appRemoved(const QString &appId);
 
41
    void appInfoChanged(const QString &appId);
36
42
};