| 82 | } |
| 83 | |
| 84 | int ClientModel::getNumConnections(unsigned int flags) const |
| 85 | { |
| 86 | ConnectionDirection connections = ConnectionDirection::None; |
| 87 | |
| 88 | if(flags == CONNECTIONS_IN) |
| 89 | connections = ConnectionDirection::In; |
| 90 | else if (flags == CONNECTIONS_OUT) |
| 91 | connections = ConnectionDirection::Out; |
| 92 | else if (flags == CONNECTIONS_ALL) |
| 93 | connections = ConnectionDirection::Both; |
| 94 | |
| 95 | return m_node.getNodeCount(connections); |
| 96 | } |
| 97 | |
| 98 | int ClientModel::getHeaderTipHeight() const |
| 99 | { |
no test coverage detected