MCPcopy Create free account
hub / github.com/KDE/kdevelop / loadFromConfiguration

Method loadFromConfiguration

plugins/lldb/widgets/lldbconfigpage.cpp:70–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void LldbConfigPage::loadFromConfiguration(const KConfigGroup& cfg, KDevelop::IProject *)
71{
72 bool block = blockSignals(true);
73 ui->lineDebuggerExec->setUrl(cfg.readEntry(Config::LldbExecutableEntry, QUrl()));
74 ui->lineDebuggerArgs->setText(cfg.readEntry(Config::LldbArgumentsEntry, QString()));
75 ui->comboEnv->setCurrentProfile(cfg.readEntry(Config::LldbEnvironmentEntry, QString()));
76 ui->checkInheritSystem->setChecked(cfg.readEntry(Config::LldbInheritSystemEnvEntry, true));
77 ui->lineConfigScript->setUrl(cfg.readEntry(Config::LldbConfigScriptEntry, QUrl()));
78 ui->checkBreakOnStart->setChecked(cfg.readEntry(KDevMI::Config::BreakOnStartEntry, false));
79 ui->comboStartWith->setCurrentIndex(ui->comboStartWith->findData(
80 cfg.readEntry(KDevMI::Config::StartWithEntry, "ApplicationOutput")));
81 ui->groupRemote->setChecked(cfg.readEntry(Config::LldbRemoteDebuggingEntry, false));
82 ui->lineRemoteServer->setText(cfg.readEntry(Config::LldbRemoteServerEntry, QString()));
83 ui->lineOnDevPath->setText(cfg.readEntry(Config::LldbRemotePathEntry, QString()));
84 blockSignals(block);
85}
86
87void LldbConfigPage::saveToConfiguration(KConfigGroup cfg, KDevelop::IProject *) const
88{

Callers

nothing calls this directly

Calls 7

readEntryMethod · 0.80
setCurrentIndexMethod · 0.80
QUrlClass · 0.50
QStringClass · 0.50
setUrlMethod · 0.45
setTextMethod · 0.45
setCurrentProfileMethod · 0.45

Tested by

no test coverage detected