Messagelib
contentjobbase.cpp
99 Q_ASSERT(!error()); // Jobs emitting an error in doStart should not call ContentJobBase::doStart().
virtual bool addSubjob(KJob *job)
const QList< KJob * > & subjobs() const
virtual void slotResult(KJob *job)
int error() const
void setExtraContent(KMime::Content *extra)
Set some extra content to be saved with the job, and available later, for example,...
Definition contentjobbase.cpp:73
virtual void doStart()
Reimplement to do additional stuff before processing children, such as adding more subjobs.
Definition contentjobbase.cpp:95
void start() override
Starts processing this ContentJobBase asynchronously.
Definition contentjobbase.cpp:54
bool appendSubjob(ContentJobBase *job)
This is meant to be used instead of KCompositeJob::addSubjob(), making it possible to add subjobs fro...
Definition contentjobbase.cpp:67
KMime::Content * content() const
Get the resulting KMime::Content that the ContentJobBase has generated.
Definition contentjobbase.cpp:59
KMime::Content * extraContent() const
Get extra content that was previously added.
Definition contentjobbase.cpp:80
A dummy abstract class defining some errors pertaining to the Composer.
Definition jobbase.h:25
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
Definition attachmentcontrollerbase.h:27
void setParent(QObject *parent)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:24 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.