23 #ifndef idAA369F27_B8AD_4120_8889175B56406459 24 #define idAA369F27_B8AD_4120_8889175B56406459 35 static ServerSummary deserializeQVariant(
const QVariant &var);
44 const QString &address()
const 49 const QString &game()
const 56 return !d.address.isEmpty() && d.port != 0;
59 const QString &name()
const 64 unsigned short port()
const 69 void setAddress(
const QString &v)
74 void setGame(
const QString &v)
79 void setName(
const QString &v)
84 void setPort(
unsigned short v)
89 void setTime(
const QDateTime &v)
94 QVariant serializeQVariant()
const;
106 QDateTime time()
const A representation of a server for a given game.
float similarity(const ServerSummary &other) const
Similarity to the 'other' server; between 0.0 and 1.0.