QTfrontend/model/playerslistmodel.h
branch0.9.21
changeset 10753 e56db5d988ef
parent 9727 e89ed65f62da
equal deleted inserted replaced
10750:31c744824dab 10753:e56db5d988ef
    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