qgpgmerefreshkeysjob.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_QGPGMEREFRESHKEYSJOB_H__
00034 #define __KLEO_QGPGMEREFRESHKEYSJOB_H__
00035
00036 #include <kleo/refreshkeysjob.h>
00037
00038 #include <qstringlist.h>
00039
00040 namespace Kleo {
00041 class GnuPGProcessBase;
00042 }
00043
00044 namespace GpgME {
00045 class Error;
00046 }
00047
00048 class KProcess;
00049
00050 namespace Kleo {
00051
00052 class QGpgMERefreshKeysJob : public RefreshKeysJob {
00053 Q_OBJECT
00054 public:
00055 QGpgMERefreshKeysJob();
00056 ~QGpgMERefreshKeysJob();
00057
00059 GpgME::Error start( const QStringList & patterns );
00060
00061 private slots:
00063 void slotCancel();
00064
00065 void slotStatus( Kleo::GnuPGProcessBase *, const QString &, const QStringList & );
00066 void slotStderr( KProcess *, char *, int );
00067 void slotProcessExited( KProcess * );
00068
00069 private:
00070 GpgME::Error startAProcess();
00071
00072 private:
00073 GnuPGProcessBase * mProcess;
00074 int mError;
00075 QStringList mPatternsToDo;
00076 };
00077
00078 }
00079
00080 #endif // __KLEO_QGPGMEREFRESHKEYSJOB_H__
This file is part of the documentation for certmanager Library Version 3.3.2.