equal
deleted
inserted
replaced
30 |
30 |
31 RoomsListModel::RoomsListModel(QObject *parent) : |
31 RoomsListModel::RoomsListModel(QObject *parent) : |
32 QAbstractTableModel(parent), |
32 QAbstractTableModel(parent), |
33 c_nColumns(9) |
33 c_nColumns(9) |
34 { |
34 { |
35 m_headerData = |
35 m_headerData = QStringList(); |
36 QStringList() |
36 m_headerData << tr("In progress"); |
37 << tr("In progress") |
37 m_headerData << tr("Room Name"); |
38 << tr("Room Name") |
38 //: Caption of the column for the number of connected clients in the list of rooms |
39 << tr("C") |
39 m_headerData << tr("C"); |
40 << tr("T") |
40 //: Caption of the column for the number of teams in the list of rooms |
41 << tr("Owner") |
41 m_headerData << tr("T"); |
42 << tr("Map") |
42 m_headerData << tr("Owner"); |
43 << tr("Script") |
43 m_headerData << tr("Map"); |
44 << tr("Rules") |
44 m_headerData << tr("Script"); |
45 << tr("Weapons"); |
45 m_headerData << tr("Rules"); |
|
46 m_headerData << tr("Weapons"); |
46 |
47 |
47 m_staticMapModel = DataManager::instance().staticMapModel(); |
48 m_staticMapModel = DataManager::instance().staticMapModel(); |
48 m_missionMapModel = DataManager::instance().missionMapModel(); |
49 m_missionMapModel = DataManager::instance().missionMapModel(); |
49 } |
50 } |
50 |
51 |