MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / data

Method data

src/qt/optionsmodel.cpp:377–384  ·  view source on GitHub ↗

read QSettings values and return them

Source from the content-addressed store, hash-verified

375
376// read QSettings values and return them
377QVariant OptionsModel::data(const QModelIndex & index, int role) const
378{
379 if(role == Qt::EditRole)
380 {
381 return getOption(OptionID(index.row()));
382 }
383 return QVariant();
384}
385
386// write QSettings values
387bool OptionsModel::setData(const QModelIndex & index, const QVariant & value, int role)

Callers 15

sha3.cppFile · 0.45
Poly1305Method · 0.45
Poly1305Class · 0.45
FinalizeMethod · 0.45
HexStrFunction · 0.45
SetKeyMethod · 0.45
KeystreamMethod · 0.45
CryptMethod · 0.45
~ChaCha20Method · 0.45
DecryptMethod · 0.45
CHKDF_HMAC_SHA256_L32Method · 0.45
Expand32Method · 0.45

Calls 1

OptionIDEnum · 0.85

Tested by 15

TestPassphraseSingleMethod · 0.36
FUZZ_TARGETFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
SendV1VersionMethod · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
ParseMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_FIXTURE_TEST_CASEFunction · 0.36