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

Function OptionRadioButton

src/optiondialog.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69{
70 public:
71 OptionRadioButton(const QString& text, bool bDefaultVal, const QString& saveName, bool* pbVar,
72 QWidget* pParent):
73 QRadioButton(text, pParent),
74 OptionBool(pbVar, bDefaultVal, saveName)
75 {
76 }
77
78 void setToDefault() override { setChecked(getDefault()); }
79 void setToCurrent() override { setChecked(getCurrent()); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected