33 #ifndef CERTIFICATEWIZARDIMPL_H
34 #define CERTIFICATEWIZARDIMPL_H
35 #include "certificatewizard.h"
37 #include <tqcstring.h>
38 #include <tqvaluevector.h>
39 #include <tqlineedit.h>
43 class KeyGenerationResult;
49 class CertificateWizardImpl : public CertificateWizard
55 CertificateWizardImpl( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
56 ~CertificateWizardImpl();
58 bool sendToCA() const;
59 TQString caEMailAddress() const;
60 KURL saveFileUrl() const;
62 typedef TQPair<TQString, TQLineEdit*> StringLEPair;
63 typedef TQValueVector< StringLEPair > AttrPairList;
66 virtual void showPage( TQWidget * page );
67 virtual void accept();
70 void slotGenerateCertificate();
71 void slotResult( const GpgME::KeyGenerationResult & res, const TQByteArray & keyData );
72 void slotSetValuesFromWhoAmI();
73 void slotEnablePersonalDataPageExit();
74 void slotURLSelected( const TQString& );
76 void slotHelpClicked();
78 void slotUploadResult( TDEIO::Job* );
81 void createPersonalDataPage();
82 void sendCertificate( const TQString& email, const TQByteArray& certificateData );
85 AttrPairList _attrPairList;
|