QTfrontend/model/playerslistmodel.h
branchsdl2transition
changeset 11362 ed5a6478e710
parent 10753 e56db5d988ef
equal deleted inserted replaced
11361:31570b766315 11362:ed5a6478e710
    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