MCPcopy Create free account
hub / github.com/NetHack/NetHack / NhPSListViewRole

Method NhPSListViewRole

outdated/win/Qt3/qt3_win.cpp:922–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920class NhPSListViewRole : public NhPSListViewItem {
921public:
922 NhPSListViewRole( QListView* parent, int id ) :
923 NhPSListViewItem(parent,
924#ifdef QT_CHOOSE_RACE_FIRST // Lowerize - looks better
925 QString(QChar(roles[id].name.m[0])).lower()+QString(roles[id].name.m+1)
926#else
927 roles[id].name.m
928#endif
929 )
930 {
931 setGlyph(monnum_to_glyph(roles[id].mnum));
932 }
933};
934
935class NhPSListViewRace : public NhPSListViewItem {

Callers

nothing calls this directly

Calls 1

setGlyphFunction · 0.85

Tested by

no test coverage detected