- /**
- * @return the command that was triggered, usually by
- * the user.
- */
- QString getCommand()
- {
- return cmd;
- }
-
- /**
- * Sets the event state to accepted.
- */
- void accept()
- {
- accepted = true;
- }
-
- /**
- * @return Whether the event was already accepted or not.
- */
- bool isAccepted()
- {
- return accepted;
- }