MCPcopy Create free account
hub / github.com/Kitware/CMake / value

Method value

Source/QtDialog/AddCacheEntry.cxx:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55QVariant AddCacheEntry::value() const
56{
57 QWidget* w = this->StackedWidget->currentWidget();
58 if (qobject_cast<QLineEdit*>(w)) {
59 return static_cast<QLineEdit*>(w)->text();
60 }
61 if (qobject_cast<QCheckBox*>(w)) {
62 return static_cast<QCheckBox*>(w)->isChecked();
63 }
64 return QVariant();
65}
66
67QString AddCacheEntry::description() const
68{

Callers 15

testCopyConstructFunction · 0.80
testValueFunction · 0.80
testSwapFunction · 0.80
testMemoryRangeFunction · 0.80
environmentMethod · 0.80
TEST_FFunction · 0.80
TESTFunction · 0.80
deserializeMethod · 0.80
optionalMethod · 0.80

Calls

no outgoing calls

Tested by 10

testCopyConstructFunction · 0.64
testValueFunction · 0.64
testSwapFunction · 0.64
testMemoryRangeFunction · 0.64
environmentMethod · 0.64
TEST_FFunction · 0.64
TESTFunction · 0.64
SetArgsFromPresetMethod · 0.64