| 38 | } |
| 39 | |
| 40 | void CommandActionPrivate::updateState() |
| 41 | { |
| 42 | if (action) { |
| 43 | update(action, false); |
| 44 | } else { |
| 45 | if (q->hasAttribute(CommandAction::Hide)) |
| 46 | q->setVisible(false); |
| 47 | q->setEnabled(false); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | void CommandActionPrivate::updateToolTipWithKeySequence() |
| 52 | { |
no test coverage detected