MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / handleButtonClicked

Method handleButtonClicked

src/plugins/smartut/gui/settingdialog.cpp:109–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void SettingDialog::handleButtonClicked()
110{
111 if (!generalWidget->apply()) {
112 int index = mainWidget->indexOf(generalWidget);
113 handleSwitchWidget(btnBox->button(index));
114 return;
115 }
116
117 if (!resourceWidget->apply()) {
118 int index = mainWidget->indexOf(resourceWidget);
119 handleSwitchWidget(btnBox->button(index));
120 return;
121 }
122
123 promptWidget->apply();
124 accept();
125}

Callers

nothing calls this directly

Calls 2

applyMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected