MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / languageMenuTriggered

Method languageMenuTriggered

src/dialogs/MainWindow.cpp:2286–2293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2284}
2285
2286void MainWindow::languageMenuTriggered()
2287{
2288 const QAction *act = qobject_cast<QAction *>(sender());
2289 auto editor = currentEditor();
2290 QVariant v = act->data();
2291
2292 setLanguage(editor, v.toString());
2293}

Callers

nothing calls this directly

Calls 2

toStringMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected