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

Function regionTypeToQString

types.cpp:18–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include "ffs.h"
17
18QString regionTypeToQString(const UINT8 type)
19{
20 switch (type)
21 {
22 case Subtypes::DescriptorRegion:
23 return QObject::tr("Descriptor");
24 case Subtypes::GbeRegion:
25 return QObject::tr("GbE");
26 case Subtypes::MeRegion:
27 return QObject::tr("ME");
28 case Subtypes::BiosRegion:
29 return QObject::tr("BIOS");
30 case Subtypes::PdrRegion:
31 return QObject::tr("PDR");
32 case Subtypes::EcRegion:
33 return QObject::tr("EC");
34 default:
35 return QObject::tr("Unknown");
36 };
37}
38
39QString itemTypeToQString(const UINT8 type)
40{

Callers 1

itemSubtypeToQStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected