Changeset View
Changeset View
Standalone View
Standalone View
libnotificationmanager/notifications.h
Show First 20 Lines • Show All 225 Lines • ▼ Show 20 Line(s) | 211 | enum Roles { | |||
---|---|---|---|---|---|
226 | BodyRole, ///< The notification body text. | 226 | BodyRole, ///< The notification body text. | ||
227 | IconNameRole, ///< The notification main icon name, which is not the application icon. Only valid for icon names, if a URL supplied, it is loaded and exposed as ImageRole instead. | 227 | IconNameRole, ///< The notification main icon name, which is not the application icon. Only valid for icon names, if a URL supplied, it is loaded and exposed as ImageRole instead. | ||
228 | 228 | | |||
229 | DesktopEntryRole, ///< The desktop entry (without .desktop suffix, e.g. org.kde.spectacle) of the application that sent the notification. | 229 | DesktopEntryRole, ///< The desktop entry (without .desktop suffix, e.g. org.kde.spectacle) of the application that sent the notification. | ||
230 | NotifyRcNameRole, ///< The notifyrc name (e.g. spectaclerc) of the application that sent the notification. | 230 | NotifyRcNameRole, ///< The notifyrc name (e.g. spectaclerc) of the application that sent the notification. | ||
231 | 231 | | |||
232 | ApplicationNameRole, ///< The user-visible name of the application (e.g. Spectacle) | 232 | ApplicationNameRole, ///< The user-visible name of the application (e.g. Spectacle) | ||
233 | ApplicationIconNameRole, ///< The icon name of the application | 233 | ApplicationIconNameRole, ///< The icon name of the application | ||
234 | DeviceNameRole, ///< The name of the device the notification originally came from, if it was proxied through a sync service like KDE Connect | 234 | OriginNameRole, ///< The name of the device or account the notification originally came from, e.g. "My Phone" (in case of device sync) or "foo@example.com" (in case of an email notification) | ||
235 | 235 | | |||
236 | // Jobs | 236 | // Jobs | ||
237 | JobStateRole, ///< The state of the job, either JobStateJopped, JobStateSuspended, or JobStateRunning. | 237 | JobStateRole, ///< The state of the job, either JobStateJopped, JobStateSuspended, or JobStateRunning. | ||
238 | PercentageRole, ///< The percentage of the job. Use @c jobsPercentage to get a global percentage for all jobs. | 238 | PercentageRole, ///< The percentage of the job. Use @c jobsPercentage to get a global percentage for all jobs. | ||
239 | JobErrorRole, ///< The error id of the job, zero in case of no error. | 239 | JobErrorRole, ///< The error id of the job, zero in case of no error. | ||
240 | SuspendableRole, ///< Whether the job can be suspended @sa suspendJob | 240 | SuspendableRole, ///< Whether the job can be suspended @sa suspendJob | ||
241 | KillableRole, ///< Whether the job can be killed/canceled @sa killJob | 241 | KillableRole, ///< Whether the job can be killed/canceled @sa killJob | ||
242 | JobDetailsRole, ///< A pointer to a Job item itself containing more detailed information about the job | 242 | JobDetailsRole, ///< A pointer to a Job item itself containing more detailed information about the job | ||
▲ Show 20 Lines • Show All 283 Lines • Show Last 20 Lines |