MCPcopy Create free account
hub / github.com/KDAB/GammaRay / replyEncrypted

Method replyEncrypted

plugins/network/networkreplymodel.cpp:325–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323
324#ifndef QT_NO_SSL
325void NetworkReplyModel::replyEncrypted(QNetworkReply *reply, QNetworkAccessManager *nam)
326{
327 /// WARNING this runs in the thread of the reply, not the thread of this!
328 ReplyNode node;
329 node.reply = reply;
330 node.displayName = Util::displayString(reply);
331 node.url = reply->url();
332 node.op = reply->operation();
333 node.state |= NetworkReply::Encrypted;
334 // clang-format off
335 QMetaObject::invokeMethod(this, "updateReplyNode", Qt::AutoConnection, Q_ARG(QNetworkAccessManager*, nam), Q_ARG(GammaRay::NetworkReplyModel::ReplyNode, node));
336 // clang-format on
337}
338
339void NetworkReplyModel::replySslErrors(QNetworkReply *reply, const QList<QSslError> &errors, QNetworkAccessManager *nam)
340{

Callers

nothing calls this directly

Calls 2

displayStringFunction · 0.85
urlMethod · 0.45

Tested by

no test coverage detected