QTfrontend/model/playerslistmodel.h
changeset 10793 f8e0961b463e
parent 9727 e89ed65f62da
equal deleted inserted replaced
10791:0311c9fa7498 10793:f8e0961b463e
    21         Friend      = Qt::UserRole + 4,
    21         Friend      = Qt::UserRole + 4,
    22         Ignore      = Qt::UserRole + 5,
    22         Ignore      = Qt::UserRole + 5,
    23         InGame      = Qt::UserRole + 6,
    23         InGame      = Qt::UserRole + 6,
    24         InRoom      = Qt::UserRole + 7,
    24         InRoom      = Qt::UserRole + 7,
    25         Contributor = Qt::UserRole + 8
    25         Contributor = Qt::UserRole + 8
       
    26         // if you add a role that will affect the player icon,
       
    27         // then also add it to the flags Qlist in updateIcon()!
    26     };
    28     };
    27 
    29 
    28     enum SpecialRoles {
    30     enum SpecialRoles {
    29         SortRole       = Qt::UserRole + 100,
    31         SortRole       = Qt::UserRole + 100,
    30         RoomFilterRole = Qt::UserRole + 101
    32         RoomFilterRole = Qt::UserRole + 101