24 #ifndef GUI_MODELS_SERVERSLISTMODEL_H
25 #define GUI_MODELS_SERVERSLISTMODEL_H
77 myServer.append(
_(
"(NON FREE)"));
83 myServer.append(
_(
"(UNKNOWN)"));
94 {
return mServers->at(elementIndex); }
101 if (version.empty() || (
gui ==
nullptr))
int getWidth(const std::string &text) const
ServersListModel(ServerInfos *const servers, ServerDialog *const parent)
const ServerInfo & getServer(const int elementIndex) const
void setVersionString(const int index, const std::string &version)
VersionStrings mVersionStrings
std::vector< VersionString > VersionStrings
std::string getElementAt(int elementIndex)
std::pair< int, std::string > VersionString
int getNumberOfElements()
#define A_DELETE_COPY(func)
std::vector< ServerInfo > ServerInfos