Mailcommon
filteractionencrypt.cpp
66 const auto proto = ((mKey.protocol() == GpgME::OpenPGP) ? QStringLiteral("PGP") : QStringLiteral("SMIME"));
67 return QStringLiteral("%1:%2:%3").arg(proto, QString::number(int(mReencrypt)), QString::fromLatin1(mKey.primaryFingerprint()));
116 qCWarning(MAILCOMMON_LOG) << "FilterActionEncrypt::process called without filter having a key!";
133 qCDebug(MAILCOMMON_LOG) << "Item" << item.id() << "encrypted by following keys: " << encryptionKeys;
145 qCDebug(MAILCOMMON_LOG) << "Item" << item.id() << "already encrypted with" << mKey.primaryFingerprint() << ", not re-encrypting";
155 qCDebug(MAILCOMMON_LOG) << "Item" << item.id() << "already encrypted with" << mKey.primaryFingerprint() << ", not re-encrypting";
177 encrypt.setCryptoMessageFormat(mKey.protocol() == GpgME::OpenPGP ? Kleo::OpenPGPMIMEFormat : Kleo::SMIMEFormat);
249 palette.setColor(lbl->foregroundRole(), KColorScheme(QPalette::Normal).foreground(KColorScheme::NegativeText).color());
283 connect(combo, &Kleo::KeySelectionCombo::keyListingFinished, &ev, &QEventLoop::quit, Qt::QueuedConnection);
void assemble()
QString number(int n, int base)
QStringView mid(qsizetype start) const const
int exec(QEventLoop::ProcessEventsFlags flags)
void toggled(bool checked)
QString i18n(const char *text, const TYPE &arg...)
void quit()
void setNeedsFlagStore()
Marks that the item's flags has been changed and needs to be written back.
Definition: itemcontext.cpp:43
KMime::Content * content() const
QFuture< void > filter(Sequence &sequence, KeepFunctor filterFunction)
QueuedConnection
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
void setNeedsPayloadStore()
Marks that the item's payload has been changed and needs to be written back.
Definition: itemcontext.cpp:33
T findChild(const QString &name, Qt::FindChildOptions options) const const
QString label(StandardShortcut id)
Id id() const
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const
QString fromLatin1(const char *str, int size)
Normal
QString mid(int position, int n) const const
const AKONADI_MIME_EXPORT char Encrypted[]
void setFlag(const QByteArray &name)
NegativeText
void setPayload(const T &p)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:58:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:58:16 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.