MCPcopy Create free account
hub / github.com/altairwei/WizNotePlus / paste

Method paste

src/widgets/WizCodeEditorDialog.cpp:176–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176bool WizCodeEditorDialog::paste()
177{
178 if (!g_instance)
179 return false;
180 if (QApplication::activeWindow() != g_instance)
181 return false;
182
183 g_instance->m_codeBrowser->page()->triggerAction(QWebEnginePage::Paste);
184 //
185 return true;
186}
187

Callers 2

LeFunction · 0.80
tFunction · 0.80

Calls 1

triggerActionMethod · 0.45

Tested by

no test coverage detected