• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • sources
  • kde-4.14
  • kdepim
  • messageviewer
  • job
attachmentencryptwithchiasmusjob.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2014-2015 Montel Laurent <montel@kde.org>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef ATTACHMENTENCRYPTWITHCHIASMUSJOB_H
19 #define ATTACHMENTENCRYPTWITHCHIASMUSJOB_H
20 
21 #include <QObject>
22 namespace KMime {
23 class Content;
24 }
25 namespace Kleo {
26 class SpecialJob;
27 }
28 namespace GpgME {
29 class Error;
30 }
31 class KJob;
32 namespace MessageViewer {
33 class AttachmentEncryptWithChiasmusJob : public QObject
34 {
35  Q_OBJECT
36 public:
37  explicit AttachmentEncryptWithChiasmusJob(QObject *parent = 0);
38  ~AttachmentEncryptWithChiasmusJob();
39  void start();
40 
41  void setContent(KMime::Content *content);
42  void setCurrentFileName(const QString &currentFileName);
43 
44  void setMainWindow(QWidget *mainWindow);
45 
46 private slots:
47  void slotAtmDecryptWithChiasmusResult(const GpgME::Error &err, const QVariant &result);
48  void slotAtmDecryptWithChiasmusUploadResult(KJob *job);
49 private:
50  QString mCurrentFileName;
51  Kleo::SpecialJob *mJob;
52  QWidget *mMainWindow;
53  KMime::Content *mContent;
54 };
55 }
56 #endif // ATTACHMENTENCRYPTWITHCHIASMUSJOB_H
QWidget
MessageViewer::AttachmentEncryptWithChiasmusJob::setCurrentFileName
void setCurrentFileName(const QString &currentFileName)
Definition: attachmentencryptwithchiasmusjob.cpp:64
MessageViewer::AttachmentEncryptWithChiasmusJob::start
void start()
Definition: attachmentencryptwithchiasmusjob.cpp:74
MessageViewer::AttachmentEncryptWithChiasmusJob::setMainWindow
void setMainWindow(QWidget *mainWindow)
Definition: attachmentencryptwithchiasmusjob.cpp:69
MessageViewer::AttachmentEncryptWithChiasmusJob::setContent
void setContent(KMime::Content *content)
Definition: attachmentencryptwithchiasmusjob.cpp:59
MessageViewer::AttachmentEncryptWithChiasmusJob::AttachmentEncryptWithChiasmusJob
AttachmentEncryptWithChiasmusJob(QObject *parent=0)
Definition: attachmentencryptwithchiasmusjob.cpp:45
MessageViewer::AttachmentEncryptWithChiasmusJob::~AttachmentEncryptWithChiasmusJob
~AttachmentEncryptWithChiasmusJob()
Definition: attachmentencryptwithchiasmusjob.cpp:54
QObject
QString
QObject::parent
QObject * parent() const
KJob
MessageViewer::AttachmentEncryptWithChiasmusJob
Definition: attachmentencryptwithchiasmusjob.h:33
QVariant
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal