34 #ifndef __KLEO_CHIASMUSJOB_H__
35 #define __KLEO_CHIASMUSJOB_H__
37 #include "kleo/specialjob.h"
39 #include <tqstringlist.h>
41 #include <gpgmepp/context.h>
47 class SymCryptRunProcessBase;
56 TQ_PROPERTY( Mode mode READ mode )
57 TQ_PROPERTY( TQString key READ key WRITE setKey )
58 TQ_PROPERTY( TQString options READ options WRITE setOptions )
59 TQ_PROPERTY( TQByteArray input READ input WRITE setInput )
60 TQ_PROPERTY( TQByteArray result READ result )
76 Mode mode() const { return mMode; }
78 TQString key() const { return mKey; }
79 void setKey( const TQString & key ) { mKey = key; }
81 TQString options() const { return mOptions; }
82 void setOptions( const TQString & options ) { mOptions = options; }
84 TQByteArray input() const { return mInput; }
85 void setInput( const TQByteArray & input ) { mInput = input; }
88 TQByteArray result() const { return mOutput; }
94 GpgME::Error slotProcessExited( TDEProcess * );
98 bool checkPreconditions() const;
100 void showChiasmusOutput();
103 SymCryptRunProcessBase * mSymCryptRun;
106 TQByteArray mInput, mOutput;
SpecialJob for Chiasmus operations.
void showErrorDialog(TQWidget *, const TQString &) const
An abstract base class for protocol-specific jobs.
|