#include void ToggleableView::setState(bool state) { m_state = state; markRectAsDirty(bounds()); }