MimeTreeParser::SignedMessagePart

Search for usage in LXR

#include <messagepart.h>

Inheritance diagram for MimeTreeParser::SignedMessagePart:

Public Types

using Ptr = QSharedPointer<SignedMessagePart>
 
- Public Types inherited from MimeTreeParser::MessagePart
using Ptr = QSharedPointer<MessagePart>
 
- Public Types inherited from QObject
typedef  QObjectList
 

Properties

bool isSigned
 
- Properties inherited from MimeTreeParser::MessagePart
QString attachmentIndex
 
QString htmlContent
 
bool isAttachment
 
bool isHtml
 
bool isImage
 
QString link
 
bool neverDisplayInline
 
QString plaintextContent
 
bool root
 
- Properties inherited from QObject
 objectName
 

Public Member Functions

 SignedMessagePart (ObjectTreeParser *otp, const QString &text, const QGpgME::Protocol *cryptoProto, const QString &fromAddress, KMime::Content *node)
 
const QGpgME::Protocol * cryptoProto () const
 
QString fromAddress () const
 
bool hasHeader (const char *headerType) const override
 
const KMime::Headers::Baseheader (const char *headerType) const override
 
QList< KMime::Headers::Base * > headers (const char *headerType) const override
 
QString htmlContent () const override
 
bool isSigned () const
 
QByteArray mementoName () const
 
QString plaintextContent () const override
 
void setIsSigned (bool isSigned)
 
void setMementoName (const QByteArray &name)
 
void startVerification (const QByteArray &text, QByteArrayView aCodec)
 
void startVerificationDetached (const QByteArray &text, KMime::Content *textNode, const QByteArray &signature)
 
- Public Member Functions inherited from MimeTreeParser::MessagePart
 MessagePart (ObjectTreeParser *otp, const QString &text)
 
void appendSubPart (const MessagePart::Ptr &messagePart)
 
KMime::ContentattachmentContent () const
 
QString attachmentIndex () const
 
QString attachmentLink () const
 
void clearSubParts ()
 
KMime::Contentcontent () const
 
virtual void fix () const
 
bool hasSubParts () const
 
bool isAttachment () const
 
virtual bool isHtml () const
 
bool isImage () const
 
bool isRoot () const
 
QString makeLink (const QString &path) const
 
Interface::BodyPartMementomemento () const
 
bool neverDisplayInline () const
 
NodeHelpernodeHelper () const
 
MessagePartparentPart () const
 
PartMetaData * partMetaData () const
 
void setAttachmentContent (KMime::Content *node)
 
void setContent (KMime::Content *node)
 
void setIsImage (bool image)
 
void setIsRoot (bool root)
 
void setMemento (Interface::BodyPartMemento *memento)
 
void setNeverDisplayInline (bool displayInline)
 
void setParentPart (MessagePart *parentPart)
 
void setText (const QString &text)
 
Interface::ObjectTreeSourcesource () const
 
const QList< MessagePart::Ptr > & subParts () const
 
virtual QString text () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 

Public Attributes

QByteArray mDecryptedData
 
std::vector< GpgME::Signature > mSignatures
 

Protected Attributes

friend EncryptedMessagePart
 
const QGpgME::Protocol * mCryptoProto
 
QString mFromAddress
 
std::shared_ptr< const Kleo::KeyCache > mKeyCache
 
QByteArray mMementoName
 
QByteArray mVerifiedText
 
- Protected Attributes inherited from MimeTreeParser::MessagePart
ObjectTreeParsermOtp = nullptr
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from MimeTreeParser::MessagePart
void parseInternal (KMime::Content *node, bool onlyOneMimePart)
 
QString renderInternalText () const
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

The SignedMessagePart class.

Definition at line 404 of file mimetreeparser/src/messagepart.h.

Member Typedef Documentation

◆ Ptr

Property Documentation

◆ isSigned

bool MimeTreeParser::SignedMessagePart::isSigned
read

Definition at line 407 of file mimetreeparser/src/messagepart.h.

Constructor & Destructor Documentation

◆ SignedMessagePart()

SignedMessagePart::SignedMessagePart ( ObjectTreeParser * otp,
const QString & text,
const QGpgME::Protocol * cryptoProto,
const QString & fromAddress,
KMime::Content * node )

Definition at line 692 of file mimetreeparser/src/messagepart.cpp.

Member Function Documentation

◆ cryptoProto()

const QGpgME::Protocol * SignedMessagePart::cryptoProto ( ) const

Definition at line 940 of file mimetreeparser/src/messagepart.cpp.

◆ fromAddress()

QString SignedMessagePart::fromAddress ( ) const
nodiscard

Definition at line 945 of file mimetreeparser/src/messagepart.cpp.

◆ hasHeader()

bool SignedMessagePart::hasHeader ( const char * headerType) const
nodiscardoverridevirtual

Reimplemented from MimeTreeParser::MessagePart.

Definition at line 950 of file mimetreeparser/src/messagepart.cpp.

◆ header()

const KMime::Headers::Base * MimeTreeParser::SignedMessagePart::header ( const char * headerType) const
overridevirtual

Reimplemented from MimeTreeParser::MessagePart.

Definition at line 958 of file mimetreeparser/src/messagepart.cpp.

◆ headers()

QList< KMime::Headers::Base * > SignedMessagePart::headers ( const char * headerType) const
nodiscardoverridevirtual

Reimplemented from MimeTreeParser::MessagePart.

Definition at line 966 of file mimetreeparser/src/messagepart.cpp.

◆ htmlContent()

QString SignedMessagePart::htmlContent ( ) const
nodiscardoverridevirtual

Reimplemented from MimeTreeParser::MessagePart.

Definition at line 931 of file mimetreeparser/src/messagepart.cpp.

◆ isSigned()

bool SignedMessagePart::isSigned ( ) const
nodiscard

Definition at line 717 of file mimetreeparser/src/messagepart.cpp.

◆ mementoName()

QByteArray SignedMessagePart::mementoName ( ) const
nodiscard

Definition at line 722 of file mimetreeparser/src/messagepart.cpp.

◆ plaintextContent()

QString SignedMessagePart::plaintextContent ( ) const
nodiscardoverridevirtual

Reimplemented from MimeTreeParser::MessagePart.

Definition at line 922 of file mimetreeparser/src/messagepart.cpp.

◆ setIsSigned()

void SignedMessagePart::setIsSigned ( bool isSigned)

Definition at line 712 of file mimetreeparser/src/messagepart.cpp.

◆ setMementoName()

void SignedMessagePart::setMementoName ( const QByteArray & name)

Definition at line 727 of file mimetreeparser/src/messagepart.cpp.

◆ startVerification()

void SignedMessagePart::startVerification ( const QByteArray & text,
QByteArrayView aCodec )

Definition at line 840 of file mimetreeparser/src/messagepart.cpp.

◆ startVerificationDetached()

void SignedMessagePart::startVerificationDetached ( const QByteArray & text,
KMime::Content * textNode,
const QByteArray & signature )

Definition at line 850 of file mimetreeparser/src/messagepart.cpp.

Member Data Documentation

◆ EncryptedMessagePart

friend MimeTreeParser::SignedMessagePart::EncryptedMessagePart
protected

Definition at line 455 of file mimetreeparser/src/messagepart.h.

◆ mCryptoProto

const QGpgME::Protocol* MimeTreeParser::SignedMessagePart::mCryptoProto
protected

Definition at line 449 of file mimetreeparser/src/messagepart.h.

◆ mDecryptedData

QByteArray MimeTreeParser::SignedMessagePart::mDecryptedData

Definition at line 423 of file mimetreeparser/src/messagepart.h.

◆ mFromAddress

QString MimeTreeParser::SignedMessagePart::mFromAddress
protected

Definition at line 450 of file mimetreeparser/src/messagepart.h.

◆ mKeyCache

std::shared_ptr<const Kleo::KeyCache> MimeTreeParser::SignedMessagePart::mKeyCache
protected

Definition at line 453 of file mimetreeparser/src/messagepart.h.

◆ mMementoName

QByteArray MimeTreeParser::SignedMessagePart::mMementoName
protected

Definition at line 452 of file mimetreeparser/src/messagepart.h.

◆ mSignatures

std::vector<GpgME::Signature> MimeTreeParser::SignedMessagePart::mSignatures

Definition at line 424 of file mimetreeparser/src/messagepart.h.

◆ mVerifiedText

QByteArray MimeTreeParser::SignedMessagePart::mVerifiedText
protected

Definition at line 451 of file mimetreeparser/src/messagepart.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.