MCPcopy Create free account
hub / github.com/ElementsProject/elements / setClipboard

Function setClipboard

src/qt/guiutil.cpp:668–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

666#endif
667
668void setClipboard(const QString& str)
669{
670 QClipboard* clipboard = QApplication::clipboard();
671 clipboard->setText(str, QClipboard::Clipboard);
672 if (clipboard->supportsSelection()) {
673 clipboard->setText(str, QClipboard::Selection);
674 }
675}
676
677fs::path QStringToPath(const QString &path)
678{

Callers 15

bumpFeeMethod · 0.85
copyAmountMethod · 0.85
copyLabelMethod · 0.85
copyAddressMethod · 0.85
clipboardQuantityMethod · 0.85
clipboardAmountMethod · 0.85
clipboardFeeMethod · 0.85
clipboardAfterFeeMethod · 0.85
clipboardBytesMethod · 0.85
clipboardLowOutputMethod · 0.85
clipboardChangeMethod · 0.85

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected