| 686 | //----------------------------------------------------------------------------- |
| 687 | |
| 688 | void GuiTreeViewCtrl::Item::setExpanded(bool f) |
| 689 | { |
| 690 | if( mState.test(InspectorData) ) |
| 691 | { |
| 692 | if( !mInspectorInfo.mObject.isNull() ) |
| 693 | mInspectorInfo.mObject->setExpanded(f); |
| 694 | } |
| 695 | else |
| 696 | mState.set(Expanded, f); |
| 697 | } |
| 698 | |
| 699 | //----------------------------------------------------------------------------- |
| 700 |
no test coverage detected