| 517 | } |
| 518 | |
| 519 | QString ElaNavigationBar::getNodeTitle(const QString& nodeKey) const |
| 520 | { |
| 521 | Q_D(const ElaNavigationBar); |
| 522 | ElaNavigationNode* node = d->_navigationModel->getNavigationNode(nodeKey); |
| 523 | if (!node) |
| 524 | { |
| 525 | node = d->_footerModel->getNavigationNode(nodeKey); |
| 526 | } |
| 527 | if (!node) |
| 528 | { |
| 529 | return {}; |
| 530 | } |
| 531 | return node->getNodeTitle(); |
| 532 | } |
| 533 | |
| 534 | void ElaNavigationBar::navigation(const QString& pageKey, bool isLogClicked, bool isRouteBack) |
| 535 | { |
no test coverage detected