Structure describing server filter. More...
#include <serverlistfilterinfo.h>
Public Member Functions | |
| ServerListFilterInfo (const ServerListFilterInfo &other) | |
| bool | isFilteringAnything () const |
| Informs if filter will apply to any server. | |
| bool | isFilteringEquivalent (const ServerListFilterInfo &other) const |
| Check if the two filters are equivalent in their filterings. | |
| ServerListFilterInfo & | operator= (const ServerListFilterInfo &other) |
| QVariant | serialize () const |
| QString | toString () const |
Static Public Member Functions | |
| static ServerListFilterInfo | deserialize (const QVariant &variant) |
Public Attributes | |
| bool | bEnabled |
| bool | bPopulatedServersOnTop |
| This is not a filter but a grouping option. | |
| bool | bShowBannedServers |
| bool | bShowEmpty |
| bool | bShowFull |
| bool | bShowNotRespondingServers |
| bool | bShowOnlyValid |
| bool | bShowTooSoonServers |
| QStringList | gameModes |
| QStringList | gameModesExcluded |
| Doomseeker::ShowMode | lockedServers |
| unsigned | maxPing |
| Maximum allowed ping. | |
| QString | name |
| QString | serverName |
| Doomseeker::ShowMode | testingServers |
| QStringList | wads |
| QStringList | wadsExcluded |
Structure describing server filter.
Definition at line 35 of file serverlistfilterinfo.h.
| bool ServerListFilterInfo::isFilteringAnything | ( | ) | const |
Informs if filter will apply to any server.
Definition at line 73 of file serverlistfilterinfo.cpp.
| bool ServerListFilterInfo::isFilteringEquivalent | ( | const ServerListFilterInfo & | other | ) | const |
Check if the two filters are equivalent in their filterings.
The equivalent filter results in the same filtering, but can have a different name.
Definition at line 112 of file serverlistfilterinfo.cpp.
| bool ServerListFilterInfo::bPopulatedServersOnTop |
This is not a filter but a grouping option.
Definition at line 64 of file serverlistfilterinfo.h.
| unsigned ServerListFilterInfo::maxPing |
Maximum allowed ping.
The default value is 0 and it means that ping filter is disabled.
Definition at line 57 of file serverlistfilterinfo.h.