Incidenceeditor

opencomposerjob.h
1/*
2 * SPDX-FileCopyrightText: 2014 Sandro Knauß <knauss@kolabsys.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#pragma once
8
9#include <KMime/Message>
10
11#include <KIdentityManagementCore/Identity>
12#include <KJob>
13
14namespace IncidenceEditorNG
15{
16// Opens a Composer with a mail with one attachment (constructed my ITIPHandler)
17class OpenComposerJob : public KJob
18{
20
21public:
22 explicit OpenComposerJob(QObject *parent,
23 const QString &to,
24 const QString &cc,
25 const QString &bcc,
26 const KMime::Message::Ptr &message,
27 const KIdentityManagementCore::Identity &identity);
28 ~OpenComposerJob() override;
29
30 void start() override;
31
32private:
33 QString mDBusService;
34 QString mError;
35 const QString mTo, mCc, mBcc;
36 const KMime::Message::Ptr mMessage;
38};
39}
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:23 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.