Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/server.h
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Line(s) | 72 | public: | |||
---|---|---|---|---|---|
144 | * Sends an action invocation request | 144 | * Sends an action invocation request | ||
145 | * | 145 | * | ||
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 | ||||
153 | * | ||||
154 | * @param id The notification ID | ||||
155 | * @param text The reply message text | ||||
156 | * @since 5.18 | ||||
157 | */ | ||||
158 | void reply(uint id, const QString &text); | ||||
159 | | ||||
160 | /** | ||||
152 | * Adds a notification | 161 | * Adds a notification | ||
153 | * | 162 | * | ||
154 | * @note The notification isn't actually broadcast | 163 | * @note The notification isn't actually broadcast | ||
155 | * but just emitted locally. | 164 | * but just emitted locally. | ||
156 | * | 165 | * | ||
157 | * @return the ID of the notification | 166 | * @return the ID of the notification | ||
158 | */ | 167 | */ | ||
159 | uint add(const Notification ¬ification); | 168 | uint add(const Notification ¬ification); | ||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |