Class sh::actions::KeyShortcutPredicate¶
-
class
sh::actions
::
KeyShortcutPredicate
: public sh::actions::Predicate¶ Sets a keyboard shortcut.
Public Functions
-
KeyShortcutPredicate
(QKeySequence shortcut, bool triggersOnCurrentDirectoryLevel)¶
-
void
prepare
(ActionInstantiation *instantiation)¶ Prepares the evaluation.
-
bool
evaluate
(ActionInstantiation *instantiation)¶ Evaluates if the predicate is solved.
If it returns
true
, the evaluation proceeds and eventually succeeds. Iffalse
, it stops at this place.
-