MCPcopy Create free account
hub / github.com/SeaEpoch/MouseClick / takeMaxButton

Method takeMaxButton

src/qwk_window_bar/windowbar.cpp:214–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 QAbstractButton* WindowBar::takeMaxButton()
215 {
216 Q_D(WindowBar);
217 auto btn = static_cast<QAbstractButton*>(d->takeWidgetAt(WindowBarPrivate::MaximumButton));
218 if (!btn) {
219 return nullptr;
220 }
221 disconnect(btn, &QAbstractButton::clicked, this, &WindowBar::maximizeRequested);
222 return btn;
223 }
224
225 QAbstractButton* WindowBar::takeCloseButton()
226 {

Callers

nothing calls this directly

Calls 1

takeWidgetAtMethod · 0.80

Tested by

no test coverage detected