MCPcopy Create free account
hub / github.com/KDE/falkon / containsScript

Method containsScript

src/plugins/GreaseMonkey/gm_manager.cpp:207–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207bool GM_Manager::containsScript(const QString &fullName) const
208{
209 for (GM_Script* script : std::as_const(m_scripts)) {
210 if (fullName == script->fullName()) {
211 return true;
212 }
213 }
214
215 return false;
216}
217
218void GM_Manager::enableScript(GM_Script* script)
219{

Callers

nothing calls this directly

Calls 1

fullNameMethod · 0.80

Tested by

no test coverage detected