23 #ifndef idA2EA6505_8AD6_40F7_AD19A3DFD8DBC961
24 #define idA2EA6505_8AD6_40F7_AD19A3DFD8DBC961
36 static const QString CONNECT;
37 static const QString INGAME;
58 const QString& address()
const;
59 const QString& game()
const;
61 const QString& name()
const;
62 unsigned short port()
const;
64 QVariant serializeQVariant()
const;
72 void setType(
const QString &val);
83 QDateTime time()
const;
88 const QString &
type()
const;
A representation of a server for a given game.
void setType(const QString &val)
One of ServerPasswordType consts or custom.
float similarity(const ServerPasswordSummary &other) const
Similarity to the 'other' server; between 0.0 and 1.0.
const QString & typeWithCompatibility() const
Returns type(), if type() is empty returns ServerPasswordType::CONNECT .
const QString & type() const
One of ServerPasswordType consts or custom.