| 1745 | } |
| 1746 | |
| 1747 | Node* Node::getFirstWidget() const { |
| 1748 | Node* child = mChild; |
| 1749 | while ( NULL != child ) { |
| 1750 | if ( child->isWidget() ) { |
| 1751 | return child; |
| 1752 | } |
| 1753 | child = child->getNextNode(); |
| 1754 | } |
| 1755 | return NULL; |
| 1756 | } |
| 1757 | |
| 1758 | Node* Node::getParentWidget() const { |
| 1759 | Node* parentNode = mParentNode; |
no test coverage detected