| 945 | } |
| 946 | |
| 947 | void |
| 948 | TreeCanvas::navDown(void) { |
| 949 | QMutexLocker locker(&mutex); |
| 950 | if (!currentNode->isHidden()) { |
| 951 | switch (currentNode->getStatus()) { |
| 952 | case STOP: |
| 953 | case UNSTOP: |
| 954 | case BRANCH: |
| 955 | { |
| 956 | int alt = std::max(0, currentNode->getPathAlternative(*na)); |
| 957 | VisualNode* n = currentNode->getChild(*na,alt); |
| 958 | setCurrentNode(n); |
| 959 | centerCurrentNode(); |
| 960 | break; |
| 961 | } |
| 962 | case SOLVED: |
| 963 | case FAILED: |
| 964 | case UNDETERMINED: |
| 965 | break; |
| 966 | } |
| 967 | } |
| 968 | } |
| 969 | |
| 970 | void |
| 971 | TreeCanvas::navLeft(void) { |
nothing calls this directly
no test coverage detected