MCPcopy Create free account
hub / github.com/KDE/okular / setSignFunction

Method setSignFunction

core/annotations.cpp:2482–2486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2480}
2481
2482void SignatureAnnotation::setSignFunction(std::function<std::pair<SigningResult, QString>(const Okular::NewSignatureData &, const QString &)> func)
2483{
2484 Q_D(SignatureAnnotation);
2485 d->m_signFunction = std::move(func);
2486}
2487
2488std::pair<SigningResult, QString> SignatureAnnotation::sign(const Okular::NewSignatureData &data, const QString &fileName)
2489{

Calls

no outgoing calls

Tested by

no test coverage detected