| 863 | |
| 864 | STD_SWAP_METHOD_SETTER_CMD_IMPL(InfoElement, SetVisible, bool, changeVisibility) |
| 865 | void InfoElement::setVisible(bool on) { |
| 866 | Q_D(InfoElement); |
| 867 | if (on != isVisible()) |
| 868 | exec(new InfoElementSetVisibleCmd(d, on, on ? ki18n("%1: set visible") : ki18n("%1: set invisible"))); |
| 869 | } |
| 870 | |
| 871 | bool InfoElement::isValid() const { |
| 872 | Q_D(const InfoElement); |
no outgoing calls
no test coverage detected