~ubuntu-branches/ubuntu/vivid/muon/vivid-proposed

« back to all changes in this revision

Viewing changes to installer/ApplicationLauncher.h

Tags: upstream-1.3.65
ImportĀ upstreamĀ versionĀ 1.3.65

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <QtGui/QDialog>
25
25
 
 
26
class ApplicationBackend;
 
27
class Application;
 
28
class LaunchListModel;
26
29
class QModelIndex;
27
30
class QStandardItemModel;
28
31
 
32
35
{
33
36
    Q_OBJECT
34
37
public:
35
 
    explicit ApplicationLauncher(const QVector<KService*> &applications, QWidget *parent = 0);
 
38
    explicit ApplicationLauncher(ApplicationBackend* backend, QWidget* parent = 0);
36
39
    ~ApplicationLauncher();
37
40
 
38
41
private:
39
 
    QStandardItemModel *m_model;
 
42
    LaunchListModel *m_model;
40
43
 
41
44
private Q_SLOTS:
42
45
    void onAppClicked(const QModelIndex &index);
43
 
    void addApplications(const QVector<KService*> &applications);
44
46
};
45
47
 
46
48
#endif