MCPcopy Create free account
hub / github.com/Atarity/Lightpack / setValue

Method setValue

Software/src/Settings.cpp:1536–1548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1534}
1535
1536void Settings::setValue(const QString & key, const QVariant & value)
1537{
1538 DEBUG_MID_LEVEL << Q_FUNC_INFO << key;
1539
1540 QMutexLocker locker(&m_mutex);
1541
1542 if (m_currentProfile == NULL)
1543 {
1544 qWarning() << Q_FUNC_INFO << "m_currentProfile == NULL";
1545 return;
1546 }
1547 m_currentProfile->setValue(key, value);
1548}
1549
1550QVariant Settings::value(const QString & key)
1551{

Callers 14

MoveUpMethod · 0.80
MoveDownMethod · 0.80
changePageMethod · 0.80
scrollThanksMethod · 0.80
updateUiFromSettingsMethod · 0.80
setCoefsMethod · 0.80
loadOrCreateProfileMethod · 0.80
renameCurrentProfileMethod · 0.80
removeCurrentProfileMethod · 0.80
setNewOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected