MCPcopy Create free account
hub / github.com/LongSoft/UEFITool / itemTypeToQString

Function itemTypeToQString

types.cpp:39–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39QString itemTypeToQString(const UINT8 type)
40{
41 switch (type) {
42 case Types::Root:
43 return QObject::tr("Root");
44 case Types::Image:
45 return QObject::tr("Image");
46 case Types::Capsule:
47 return QObject::tr("Capsule");
48 case Types::Region:
49 return QObject::tr("Region");
50 case Types::Volume:
51 return QObject::tr("Volume");
52 case Types::Padding:
53 return QObject::tr("Padding");
54 case Types::File:
55 return QObject::tr("File");
56 case Types::Section:
57 return QObject::tr("Section");
58 case Types::FreeSpace:
59 return QObject::tr("Free space");
60 default:
61 return QObject::tr("Unknown");
62 }
63}
64
65QString itemSubtypeToQString(const UINT8 type, const UINT8 subtype)
66{

Callers 2

dataMethod · 0.85
recursiveDumpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected