#include <customservers.h>
Public Member Functions | |
bool | isSameServer (const CustomServerInfo &other) const |
Static Public Member Functions | |
static CustomServerInfo | fromServer (const Server *server) |
Public Attributes | |
bool | enabled |
QString | engine |
int | engineIndex |
QString | host |
unsigned short | port |
If server for unknown engine is found, the engineIndex should be set to a negative value.
Definition at line 35 of file customservers.h.
bool CustomServerInfo::isSameServer | ( | const CustomServerInfo & | other | ) | const |
Returns true if the other server has same plugin, host and port.
Definition at line 45 of file customservers.cpp.