Skip to content
Commit 0b0cb05c authored by Nicolas Fella's avatar Nicolas Fella
Browse files

New API for notification actions

Currently actions are specified using a string list of names. When activating an action a signal like action1Activated() or activated(int index) is emitted.

This API is awkward to use and makes it hard to extend actions with further data, like icons.

Instead introduce a new KNotificationAction class that encapsulates the action and has an activated signal.

This matches what we already do for KNotificationReplyAction
parent 9c11531a
Pipeline #514920 passed with stage
in 1 minute and 32 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment