| 1425 | } |
| 1426 | |
| 1427 | void Widget::setDepth(int _value) |
| 1428 | { |
| 1429 | if (mDepth == _value) |
| 1430 | return; |
| 1431 | |
| 1432 | mDepth = _value; |
| 1433 | |
| 1434 | if (mParent != nullptr) |
| 1435 | { |
| 1436 | mParent->_unlinkChildWidget(this); |
| 1437 | mParent->_linkChildWidget(this); |
| 1438 | mParent->_updateChilds(); |
| 1439 | } |
| 1440 | } |
| 1441 | |
| 1442 | int Widget::getDepth() const |
| 1443 | { |
nothing calls this directly
no test coverage detected