Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/plugin/appentry.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Line(s) | 33 | public: | |||
---|---|---|---|---|---|
53 | QString id() const Q_DECL_OVERRIDE; | 53 | QString id() const Q_DECL_OVERRIDE; | ||
54 | QUrl url() const Q_DECL_OVERRIDE; | 54 | QUrl url() const Q_DECL_OVERRIDE; | ||
55 | 55 | | |||
56 | bool hasActions() const Q_DECL_OVERRIDE; | 56 | bool hasActions() const Q_DECL_OVERRIDE; | ||
57 | QVariantList actions() const Q_DECL_OVERRIDE; | 57 | QVariantList actions() const Q_DECL_OVERRIDE; | ||
58 | 58 | | |||
59 | bool run(const QString& actionId = QString(), const QVariant &argument = QVariant()) Q_DECL_OVERRIDE; | 59 | bool run(const QString& actionId = QString(), const QVariant &argument = QVariant()) Q_DECL_OVERRIDE; | ||
60 | 60 | | |||
61 | QString menuId() const; | ||||
62 | | ||||
61 | static QString nameFromService(const KService::Ptr service, NameFormat nameFormat); | 63 | static QString nameFromService(const KService::Ptr service, NameFormat nameFormat); | ||
62 | static KService::Ptr defaultAppByName(const QString &name); | 64 | static KService::Ptr defaultAppByName(const QString &name); | ||
63 | 65 | | |||
64 | private: | 66 | private: | ||
65 | void init(NameFormat nameFormat); | 67 | void init(NameFormat nameFormat); | ||
66 | 68 | | |||
67 | QString m_id; | 69 | QString m_id; | ||
68 | QString m_name; | 70 | QString m_name; | ||
Show All 25 Lines |