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

Method ProcessCopyAsJson

src/render_panel/ui/st_security_file_transfer.cpp:294–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292 }
293
294 void StSecurityFileTransfer::ProcessCopyAsJson(const std::shared_ptr<FileTransferRecord>& record) {
295 auto msg = record->AsJson();
296 QClipboard* clipboard = QApplication::clipboard();
297 clipboard->setText(QString::fromStdString(msg));
298 context_->NotifyAppMessage(tcTr("id_copy_success"), tcTr("id_copy_success_clipboard"));
299 }
300
301 void StSecurityFileTransfer::ProcessDelete(const std::shared_ptr<FileTransferRecord>& record) {
302 TcDialog dialog(tcTr("id_warning"), tcTr("id_delete_this_record"));

Callers

nothing calls this directly

Calls 2

AsJsonMethod · 0.45
NotifyAppMessageMethod · 0.45

Tested by

no test coverage detected