MCPcopy Create free account
hub / github.com/KDE/kdiff3 / OptionCheckBox

Function OptionCheckBox

src/optiondialog.cpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50{
51 public:
52 OptionCheckBox(const QString& text, bool bDefaultVal, const QString& saveName, bool* pbVar,
53 QWidget* pParent):
54 QCheckBox(text, pParent),
55 OptionBool(pbVar, bDefaultVal, saveName)
56 {
57 }
58 void setToDefault() override { setChecked(getDefault()); }
59 void setToCurrent() override { setChecked(getCurrent()); }
60

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected