MCPcopy Create free account
hub / github.com/KDAB/GammaRay / clear

Method clear

core/tools/objectinspector/bindingextension.cpp:44–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42BindingExtension::~BindingExtension() = default;
43
44void BindingExtension::clear()
45{
46 if (m_object)
47 disconnect(m_object, nullptr, this, nullptr);
48
49 m_bindingModel->aboutToClear();
50 m_bindings.clear();
51 m_object = nullptr;
52 m_bindingModel->cleared();
53}
54
55bool BindingExtension::setQObject(QObject *object)
56{

Callers 3

setQObjectMethod · 0.45
setQObjectMethod · 0.45

Calls 2

aboutToClearMethod · 0.80
clearedMethod · 0.80

Tested by

no test coverage detected