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

Method data

treeitem.cpp:84–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84QVariant TreeItem::data(int column) const
85{
86 switch (column)
87 {
88 case 0: // Name
89 return itemName;
90 case 1: // Action
91 return actionTypeToQString(itemAction);
92 case 2: // Type
93 return itemTypeToQString(itemType);
94 case 3: // Subtype
95 return itemSubtypeToQString(itemType, itemSubtype);
96 case 4: // Text
97 return itemText;
98 default:
99 return QVariant();
100 }
101}
102
103TreeItem *TreeItem::parent()
104{

Callers 12

parseFileMethod · 0.45
x86ConvertFunction · 0.45
createMethod · 0.45
decompressMethod · 0.45
constructPadFileMethod · 0.45
reconstructVolumeMethod · 0.45
reconstructFileMethod · 0.45
reconstructSectionMethod · 0.45
growVolumeMethod · 0.45
findTextPatternMethod · 0.45
rebaseMethod · 0.45
patchVtfMethod · 0.45

Calls 3

actionTypeToQStringFunction · 0.85
itemTypeToQStringFunction · 0.85
itemSubtypeToQStringFunction · 0.85

Tested by

no test coverage detected