Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/systemtray.h
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
104 | * then restack it after it, using QQuickITem::stackAfter. | 104 | * then restack it after it, using QQuickITem::stackAfter. | ||
105 | * used to quickly reorder icons in the systray (or hidden popup) | 105 | * used to quickly reorder icons in the systray (or hidden popup) | ||
106 | * @see QQuickITem::stackAfter | 106 | * @see QQuickITem::stackAfter | ||
107 | */ | 107 | */ | ||
108 | Q_INVOKABLE void reorderItemAfter(QQuickItem* after, QQuickItem* before); | 108 | Q_INVOKABLE void reorderItemAfter(QQuickItem* after, QQuickItem* before); | ||
109 | 109 | | |||
110 | Q_INVOKABLE bool isSystemTrayApplet(const QString &appletId); | 110 | Q_INVOKABLE bool isSystemTrayApplet(const QString &appletId); | ||
111 | 111 | | |||
112 | /** | ||||
113 | * @brief isIconNull checks if icon is null | ||||
114 | * @param icon | ||||
115 | * @return true if icon is null | ||||
116 | */ | ||||
117 | Q_INVOKABLE bool isIconNull(const QIcon &icon) const; | ||||
118 | | ||||
112 | private Q_SLOTS: | 119 | private Q_SLOTS: | ||
113 | void serviceNameFetchFinished(QDBusPendingCallWatcher* watcher, const QDBusConnection &connection); | 120 | void serviceNameFetchFinished(QDBusPendingCallWatcher* watcher, const QDBusConnection &connection); | ||
114 | void serviceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); | 121 | void serviceOwnerChanged(const QString &serviceName, const QString &oldOwner, const QString &newOwner); | ||
115 | 122 | | |||
116 | private: | 123 | private: | ||
117 | void serviceRegistered(const QString &service); | 124 | void serviceRegistered(const QString &service); | ||
118 | void serviceUnregistered(const QString &service); | 125 | void serviceUnregistered(const QString &service); | ||
119 | 126 | | |||
Show All 18 Lines |