Changeset View
Changeset View
Standalone View
Standalone View
messagecore/src/attachment/attachmentupdatejob.h
Show All 14 Lines | 1 | /* | |||
---|---|---|---|---|---|
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | Boston, MA 02110-1301, USA. | 17 | Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef ATTACHMENTUPDATEJOB_H | 20 | #ifndef ATTACHMENTUPDATEJOB_H | ||
21 | #define ATTACHMENTUPDATEJOB_H | 21 | #define ATTACHMENTUPDATEJOB_H | ||
22 | 22 | | |||
23 | #include "messagecore_private_export.h" | 23 | #include "messagecore_export.h" | ||
mlaurent: Please fix header too | |||||
24 | #include <KJob> | 24 | #include <KJob> | ||
25 | #include "attachmentpart.h" | 25 | #include "attachmentpart.h" | ||
26 | 26 | | |||
27 | namespace MessageCore { | 27 | namespace MessageCore { | ||
28 | class MESSAGECORE_TESTS_EXPORT AttachmentUpdateJob : public KJob | 28 | class MESSAGECORE_EXPORT AttachmentUpdateJob : public KJob | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | public: | 31 | public: | ||
32 | explicit AttachmentUpdateJob(const AttachmentPart::Ptr &part, QObject *parent = nullptr); | 32 | explicit AttachmentUpdateJob(const AttachmentPart::Ptr &part, QObject *parent = nullptr); | ||
33 | ~AttachmentUpdateJob() override; | 33 | ~AttachmentUpdateJob() override; | ||
34 | 34 | | |||
35 | void start() override; | 35 | void start() override; | ||
36 | Q_REQUIRED_RESULT AttachmentPart::Ptr originalPart() const; | 36 | Q_REQUIRED_RESULT AttachmentPart::Ptr originalPart() const; | ||
Show All 9 Lines |
Please fix header too