Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/server.h
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
---|---|---|---|---|---|
146 | * @param id The notification ID | 146 | * @param id The notification ID | ||
147 | * @param actionName The name of the action, e.g. "Action 1", or "default" | 147 | * @param actionName The name of the action, e.g. "Action 1", or "default" | ||
148 | */ | 148 | */ | ||
149 | void invokeAction(uint id, const QString &actionName); | 149 | void invokeAction(uint id, const QString &actionName); | ||
150 | 150 | | |||
151 | /** | 151 | /** | ||
152 | * Sends a notification reply text | 152 | * Sends a notification reply text | ||
153 | * | 153 | * | ||
154 | * @param dbusService The bus name of the receiving application | ||||
154 | * @param id The notification ID | 155 | * @param id The notification ID | ||
155 | * @param text The reply message text | 156 | * @param text The reply message text | ||
156 | * @since 5.18 | 157 | * @since 5.18 | ||
157 | */ | 158 | */ | ||
158 | void reply(uint id, const QString &text); | 159 | void reply(const QString &dbusService, uint id, const QString &text); | ||
159 | 160 | | |||
160 | /** | 161 | /** | ||
161 | * Adds a notification | 162 | * Adds a notification | ||
162 | * | 163 | * | ||
163 | * @note The notification isn't actually broadcast | 164 | * @note The notification isn't actually broadcast | ||
164 | * but just emitted locally. | 165 | * but just emitted locally. | ||
165 | * | 166 | * | ||
166 | * @return the ID of the notification | 167 | * @return the ID of the notification | ||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |