GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
ExportKeyPackageDialog.h
1 
29 #ifndef GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
30 #define GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
31 
32 #include "GpgFrontendUI.h"
33 #include "ui/dialog/GeneralDialog.h"
34 
35 class Ui_exportKeyPackageDialog;
36 
37 namespace GpgFrontend::UI {
38 
44  Q_OBJECT
45 
46  public:
53  explicit ExportKeyPackageDialog(KeyIdArgsListPtr key_ids, QWidget* parent);
54 
55  private:
56  std::shared_ptr<Ui_exportKeyPackageDialog> ui_;
57  KeyIdArgsListPtr key_ids_;
58  std::string passphrase_;
59 };
60 } // namespace GpgFrontend::UI
61 
62 #endif // GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
GpgFrontend::UI
Definition: FileReadTask.cpp:31
GpgFrontend::UI::ExportKeyPackageDialog
Definition: ExportKeyPackageDialog.h:43
GpgFrontend::KeyPackageOperator::GenerateKeyPackageName
static std::string GenerateKeyPackageName()
generate the name of the key package
Definition: KeyPackageOperator.cpp:115
GpgFrontend::SingletonFunctionObject< GpgKeyGetter >::GetInstance
static GpgKeyGetter & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
GpgFrontend::KeyPackageOperator::GenerateKeyPackage
static bool GenerateKeyPackage(const std::filesystem::path &key_package_path, const std::string &key_package_name, KeyIdArgsListPtr &key_ids, std::string &phrase, bool secret)
generate key package
Definition: KeyPackageOperator.cpp:46
GpgFrontend::UI::GeneralDialog
Definition: GeneralDialog.h:35
GpgFrontend::UI::ExportKeyPackageDialog::ExportKeyPackageDialog
ExportKeyPackageDialog(KeyIdArgsListPtr key_ids, QWidget *parent)
Construct a new Export Key Package Dialog object.
Definition: ExportKeyPackageDialog.cpp:37
GpgFrontend::GpgKeyGetter::GetKeys
KeyListPtr GetKeys(const KeyIdArgsListPtr &ids)
Get the Keys object.
Definition: GpgKeyGetter.cpp:148