MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetOption

Method SetOption

lib/utils/regex-config.cpp:198–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198void RegexConfigDialog::SetOption(RegexConfig &conf,
199 QRegularExpression::PatternOptions what,
200 QCheckBox *cb)
201{
202 if (cb->isChecked()) {
203 conf._options |= what;
204 } else {
205 conf._options &= ~what;
206 }
207}
208
209bool RegexConfigDialog::AskForSettings(QWidget *parent, RegexConfig &settings)
210{

Callers

nothing calls this directly

Calls 1

isCheckedMethod · 0.80

Tested by

no test coverage detected