23 #ifndef __SERVER_LIST_ROW_HANDLER_H_
24 #define __SERVER_LIST_ROW_HANDLER_H_
62 enum ServerListDataTypes
65 DTPointerToServerStructure = Qt::UserRole+1,
66 DTSort = Qt::UserRole+2
83 QStandardItem* item(
int columnIndex);
88 void setCountryFlag();
91 int updateServer(
int response);
93 static ServerPtr serverFromList(
ServerListModel* parentModel,
int rowIndex);
97 void emptyItem(QStandardItem*);
99 void fillAddressColumn();
101 void fillItem(QStandardItem*,
const QString&);
102 void fillItem(QStandardItem*,
int,
const QString&);
103 void fillItem(QStandardItem*,
int);
104 void fillItem(QStandardItem*,
const QHostAddress&,
const QString& actualDisplay = QString());
105 void fillItem(QStandardItem*,
const QString&,
const QPixmap&);
106 void fillItem(QStandardItem*,
int,
const QPixmap&);
108 void fillPlayerColumn();
109 void fillPortIconColumn();
110 void fillServerPointerColumn();
112 void prepareHeaders();
116 void setBackgroundColor();
120 void setFirstQuery();
128 QStringList extractValidGameCVarNames(
const QList<GameCVar> &cvars);
void clearNonVitalFields()
A representation of a server for a given game.
A general game setting or variable (like fraglimit).