| 182 | } |
| 183 | |
| 184 | Node* Node::setChildrenVisibility( bool visible, bool emitEventNotification ) { |
| 185 | Node* child = mChild; |
| 186 | if ( emitEventNotification ) { |
| 187 | while ( child ) { |
| 188 | child->setVisible( visible ); |
| 189 | child = child->mNext; |
| 190 | } |
| 191 | } else { |
| 192 | while ( child ) { |
| 193 | child->mVisible = visible; |
| 194 | child = child->mNext; |
| 195 | } |
| 196 | } |
| 197 | return this; |
| 198 | } |
| 199 | |
| 200 | bool Node::isVisible() const { |
| 201 | return mVisible; |
no test coverage detected