| 692 | //----------------------------------------------------------------------------- |
| 693 | |
| 694 | void GuiTreeViewCtrl::Item::setExpanded(bool f) |
| 695 | { |
| 696 | if( mState.test(InspectorData) ) |
| 697 | { |
| 698 | if( !mInspectorInfo.mObject.isNull() ) |
| 699 | mInspectorInfo.mObject->setExpanded(f); |
| 700 | } |
| 701 | else |
| 702 | mState.set(Expanded, f); |
| 703 | } |
| 704 | |
| 705 | //----------------------------------------------------------------------------- |
| 706 |
no test coverage detected