83 QList<QPair<QString, Callback_t>> ActionName2Callback_;
85 QList<QPointer<QObject>> DependentObjects_;
UTIL_API NotificationActionHandler(Entity &entity, QObject *=0)
Creates the handler on the given entity.
UTIL_API void AddDependentObject(QObject *object)
Adds an object as a dependent object.
void notificationActionTriggered(int)
Aids in adding actions to notifications.
UTIL_API void AddFunction(const QString &name, Callback_t action)
Adds an action with the given name.
Describes parameters of an entity.
std::function< void()> Callback_t
Type of functions used as actions in the handler.