diff -r b8f3d8991e92 -r 47830cf50574 QTfrontend/model/roomslistmodel.h --- a/QTfrontend/model/roomslistmodel.h Wed May 02 11:43:43 2012 +0100 +++ b/QTfrontend/model/roomslistmodel.h Wed May 02 13:00:10 2012 +0200 @@ -33,6 +33,19 @@ { Q_OBJECT public: + // if you add a column here, also incr. c_nColumns in constructor + // also adjust header in constructor to changes + enum Column { + StateColumn, + NameColumn, + PlayerCountColumn, + TeamCountColumn, + OwnerColumn, + MapColumn, + SchemeColumn, + WeaponsColumn + }; + explicit RoomsListModel(QObject *parent = 0); QVariant headerData(int section, Qt::Orientation orientation, int role) const;