Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KAlarm
Commits
d65437a5
Commit
d65437a5
authored
Jan 12, 2012
by
David Jarvie
Browse files
Allow pre-alarm command CancelOnError to work
parent
4a585409
Changes
1
Hide whitespace changes
Inline
Side-by-side
kaevent.h
View file @
d65437a5
...
...
@@ -314,14 +314,14 @@ class KALARMCAL_EXPORT KAEvent
CMD_ERROR_PRE_POST
=
CMD_ERROR_PRE
|
CMD_ERROR_POST
};
/** Options for pre- or post-alarm actions.
/** Options for pre- or post-alarm actions.
These may be OR'ed together.
* @since 4.9
*/
enum
ExtraActionOption
{
CancelOnPreActError
,
//!< cancel alarm on pre-alarm action error
DontShowPreActError
,
//!< do not notify pre-alarm action errors to user
ExecPreActOnDeferral
//!< execute pre-alarm action also for deferred alarms
CancelOnPreActError
=
0x01
,
//!< cancel alarm on pre-alarm action error
DontShowPreActError
=
0x02
,
//!< do not notify pre-alarm action errors to user
ExecPreActOnDeferral
=
0x04
//!< execute pre-alarm action also for deferred alarms
};
Q_DECLARE_FLAGS
(
ExtraActionOptions
,
ExtraActionOption
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment