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

libkleo

  • Kleo
  • ObtainKeysJob
Public Slots | Public Member Functions | Properties | List of all members
Kleo::ObtainKeysJob Class Reference

#include <obtainkeysjob.h>

Inheritance diagram for Kleo::ObtainKeysJob:
Inheritance graph
[legend]

Public Slots

void slotCancel ()
 
- Public Slots inherited from Kleo::Job
virtual void slotCancel ()=0
 

Public Member Functions

 ObtainKeysJob (QObject *parent=0)
 
 ~ObtainKeysJob ()
 
GpgME::Error exec ()
 
QStringList result () const
 
void showErrorDialog (QWidget *, const QString &) const
 
GpgME::Error start ()
 
- Public Member Functions inherited from Kleo::SpecialJob
 ~SpecialJob ()
 
- Public Member Functions inherited from Kleo::Job
 ~Job ()
 
virtual QString auditLogAsHtml () const
 
virtual GpgME::Error auditLogError () const
 
bool isAuditLogSupported () const
 

Properties

QStringList result
 

Additional Inherited Members

- Signals inherited from Kleo::SpecialJob
void result (const GpgME::Error &result, const QVariant &data)
 
- Signals inherited from Kleo::Job
void done ()
 
void progress (const QString &what, int current, int total)
 
- Protected Member Functions inherited from Kleo::SpecialJob
 SpecialJob (QObject *parent)
 
- Protected Member Functions inherited from Kleo::Job
 Job (QObject *parent)
 

Detailed Description

SpecialJob for listing Chiasmus key files.

In the Chiasmus system, keys are mapped 1:1 to files. Furthermore, we have to definition of the format of those keys, so we cannot display more than the filename anyway. Due to all of these limitations, we don't use KeyListJob here, but roll our own interface.

The name of the function is x-obtain-keys. It takes no parameters.

To use, create an ObtainKeysJob instance like this: Kleo::SpecialJob * job = protocol->specialJob("x-obtain-keys", QMap<QString,QVariant>());

The resulting QVariant will contain a QStringList containing the absolute filenames of the keys found in the configured key files.

Definition at line 65 of file obtainkeysjob.h.

Constructor & Destructor Documentation

Kleo::ObtainKeysJob::ObtainKeysJob ( QObject *  parent = 0)
explicit

Definition at line 53 of file obtainkeysjob.cpp.

Kleo::ObtainKeysJob::~ObtainKeysJob ( )

Definition at line 66 of file obtainkeysjob.cpp.

Member Function Documentation

GpgME::Error Kleo::ObtainKeysJob::exec ( )
virtual
Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.

Definition at line 73 of file obtainkeysjob.cpp.

QStringList Kleo::ObtainKeysJob::result ( ) const
inline

Definition at line 81 of file obtainkeysjob.h.

void Kleo::ObtainKeysJob::showErrorDialog ( QWidget *  parent,
const QString &  caption 
) const
virtual
Reimplemented from superclass. Kleo::Job

Reimplemented from Kleo::Job.

Definition at line 113 of file obtainkeysjob.cpp.

void Kleo::ObtainKeysJob::slotCancel ( )
slot

Definition at line 78 of file obtainkeysjob.cpp.

GpgME::Error Kleo::ObtainKeysJob::start ( )
virtual
Reimplemented from superclass. SpecialJob

Implements Kleo::SpecialJob.

Definition at line 68 of file obtainkeysjob.cpp.

Property Documentation

QStringList Kleo::ObtainKeysJob::result
read

Definition at line 67 of file obtainkeysjob.h.


The documentation for this class was generated from the following files:
  • obtainkeysjob.h
  • obtainkeysjob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkleo

Skip menu "libkleo"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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

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