MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / actionChanged

Function actionChanged

launcher/ui/widgets/WideBar.cpp:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 };
15private slots:
16 void actionChanged() {
17 setEnabled(m_action->isEnabled());
18 setChecked(m_action->isChecked());
19 setCheckable(m_action->isCheckable());
20 setText(m_action->text());
21 setIcon(m_action->icon());
22 setToolTip(m_action->toolTip());
23 setHidden(!m_action->isVisible());
24 setFocusPolicy(Qt::NoFocus);
25 }
26private:
27 QAction * m_action;
28};

Callers

nothing calls this directly

Calls 3

isEnabledMethod · 0.80
textMethod · 0.45
iconMethod · 0.45

Tested by

no test coverage detected