gnupgprocessbase.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_GNUPGPROCESSBASE_H__
00034 #define __KLEO_GNUPGPROCESSBASE_H__
00035
00036 #include <kprocess.h>
00037
00038 namespace Kleo {
00039
00048 class GnuPGProcessBase : public KProcess {
00049 Q_OBJECT
00050 public:
00051 GnuPGProcessBase( QObject * parent=0, const char * name=0 );
00052 ~GnuPGProcessBase();
00053
00054 void setUseStatusFD( bool use );
00055
00057 bool start( RunMode runmode, Communication comm );
00058
00059 bool closeStatus();
00060
00061 signals:
00062 void status( Kleo::GnuPGProcessBase * proc, const QString & type, const QStringList & args );
00063
00064 protected:
00066 int setupCommunication( Communication comm );
00068 int commSetupDoneP();
00070 int commSetupDoneC();
00071
00072 int childStatus( int fd );
00073
00074
00075 private slots:
00076 void slotChildStatus( int fd );
00077
00078 private:
00079 void parseStatusOutput();
00080
00081 private:
00082 class Private;
00083 Private * d;
00084 protected:
00086 void virtual_hook( int id, void * data );
00087 };
00088
00089 }
00090
00091 #endif // __KLEO_GNUPGPROCESSBASE_H__
This file is part of the documentation for certmanager/lib Library Version 3.3.2.