Changeset View
Changeset View
Standalone View
Standalone View
dataengines/statusnotifieritem/statusnotifieritemsource.h
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
45 | 45 | | |||
46 | void activate(int x, int y); | 46 | void activate(int x, int y); | ||
47 | void secondaryActivate(int x, int y); | 47 | void secondaryActivate(int x, int y); | ||
48 | void scroll(int delta, const QString &direction); | 48 | void scroll(int delta, const QString &direction); | ||
49 | void contextMenu(int x, int y); | 49 | void contextMenu(int x, int y); | ||
50 | 50 | | |||
51 | Q_SIGNALS: | 51 | Q_SIGNALS: | ||
52 | void contextMenuReady(QMenu *menu); | 52 | void contextMenuReady(QMenu *menu); | ||
53 | void activateResult(bool success); | ||||
53 | 54 | | |||
54 | private Q_SLOTS: | 55 | private Q_SLOTS: | ||
55 | void contextMenuReady(); | 56 | void contextMenuReady(); | ||
56 | void refreshTitle(); | 57 | void refreshTitle(); | ||
57 | void refreshIcons(); | 58 | void refreshIcons(); | ||
58 | void refreshToolTip(); | 59 | void refreshToolTip(); | ||
59 | void refresh(); | 60 | void refresh(); | ||
60 | void performRefresh(); | 61 | void performRefresh(); | ||
61 | void syncStatus(QString); | 62 | void syncStatus(QString); | ||
62 | void refreshCallback(QDBusPendingCallWatcher *); | 63 | void refreshCallback(QDBusPendingCallWatcher *); | ||
64 | void activateCallback(QDBusPendingCallWatcher *); | ||||
63 | 65 | | |||
64 | private: | 66 | private: | ||
65 | 67 | | |||
66 | QPixmap KDbusImageStructToPixmap(const KDbusImageStruct &image) const; | 68 | QPixmap KDbusImageStructToPixmap(const KDbusImageStruct &image) const; | ||
67 | QIcon imageVectorToPixmap(const KDbusImageVector &vector) const; | 69 | QIcon imageVectorToPixmap(const KDbusImageVector &vector) const; | ||
68 | void overlayIcon(QIcon *icon, QIcon *overlay); | 70 | void overlayIcon(QIcon *icon, QIcon *overlay); | ||
69 | KIconLoader *iconLoader() const; | 71 | KIconLoader *iconLoader() const; | ||
70 | 72 | | |||
Show All 16 Lines |