| 76 | } |
| 77 | |
| 78 | int ClientModel::getNumConnections(unsigned int flags) const |
| 79 | { |
| 80 | ConnectionDirection connections = ConnectionDirection::None; |
| 81 | |
| 82 | if(flags == CONNECTIONS_IN) |
| 83 | connections = ConnectionDirection::In; |
| 84 | else if (flags == CONNECTIONS_OUT) |
| 85 | connections = ConnectionDirection::Out; |
| 86 | else if (flags == CONNECTIONS_ALL) |
| 87 | connections = ConnectionDirection::Both; |
| 88 | |
| 89 | return m_node.getNodeCount(connections); |
| 90 | } |
| 91 | |
| 92 | int ClientModel::getHeaderTipHeight() const |
| 93 | { |
no test coverage detected