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

Method NhPSListViewRace

outdated/win/Qt3/qt3_win.cpp:937–947  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935class NhPSListViewRace : public NhPSListViewItem {
936public:
937 NhPSListViewRace( QListView* parent, int id ) :
938 NhPSListViewItem(parent,
939#ifdef QT_CHOOSE_RACE_FIRST // Capitalize - looks better
940 QString(QChar(races[id].noun[0])).upper()+QString(races[id].noun+1)
941#else
942 QString(QChar(races[id].noun[0])+QString(races[id].noun+1))
943#endif
944 )
945 {
946 setGlyph(monnum_to_glyph(races[id].mnum));
947 }
948};
949
950class NhPSListView : public QListView {

Callers

nothing calls this directly

Calls 1

setGlyphFunction · 0.85

Tested by

no test coverage detected