qgpgmekeylistjob.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
#ifndef __KLEO_QGPGMEKEYLISTJOB_H__
00034
#define __KLEO_QGPGMEKEYLISTJOB_H__
00035
00036
#include <kleo/keylistjob.h>
00037
00038
#include "qgpgmejob.h"
00039
00040
namespace GpgME {
00041
class Error;
00042
class Context;
00043
class Key;
00044 }
00045
00046
namespace Kleo {
00047
00048
class QGpgMEKeyListJob :
public KeyListJob,
private QGpgMEJob {
00049 Q_OBJECT QGPGME_JOB
00050
public:
00051 QGpgMEKeyListJob( GpgME::Context * context );
00052 ~QGpgMEKeyListJob();
00053
00055 GpgME::Error start(
const QStringList & patterns,
bool secretOnly );
00056
00058 GpgME::KeyListResult exec(
const QStringList & patterns,
bool secretOnly, std::vector<GpgME::Key> & keys );
00059
00060
private slots:
00061
void slotNextKeyEvent( GpgME::Context * context,
const GpgME::Key & key );
00062
void slotOperationDoneEvent( GpgME::Context * context,
const GpgME::Error & e ) {
00063 QGpgMEJob::doSlotOperationDoneEvent( context, e );
00064 }
00065
00066
private:
00067
void doOperationDoneEvent(
const GpgME::Error & e );
00068
void setup(
const QStringList & );
00069 };
00070
00071 }
00072
00073
#endif // __KLEO_QGPGMEKEYLISTJOB_H__
This file is part of the documentation for certmanager/lib Library Version 3.3.0.