MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / ProcessCopy

Method ProcessCopy

src/render_panel/ui/st_security_file_transfer.cpp:287–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285 }
286
287 void StSecurityFileTransfer::ProcessCopy(const std::shared_ptr<FileTransferRecord>& record) {
288 auto msg = record->AsString();
289 QClipboard* clipboard = QApplication::clipboard();
290 clipboard->setText(QString::fromStdString(msg));
291 context_->NotifyAppMessage(tcTr("id_copy_success"), tcTr("id_copy_success_clipboard"));
292 }
293
294 void StSecurityFileTransfer::ProcessCopyAsJson(const std::shared_ptr<FileTransferRecord>& record) {
295 auto msg = record->AsJson();

Callers

nothing calls this directly

Calls 2

AsStringMethod · 0.45
NotifyAppMessageMethod · 0.45

Tested by

no test coverage detected