ExportKeyPackageDialog.h
#ifndef GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
#define GPGFRONTEND_EXPORTKEYPACKAGEDIALOG_H
#include "GpgFrontendUI.h"
#include "ui/dialog/GeneralDialog.h"
class Ui_exportKeyPackageDialog;
namespace GpgFrontend::UI {
class ExportKeyPackageDialog : public GeneralDialog {
Q_OBJECT
public:
explicit ExportKeyPackageDialog(KeyIdArgsListPtr key_ids, QWidget* parent);
private:
std::shared_ptr<Ui_exportKeyPackageDialog> ui_;
KeyIdArgsListPtr key_ids_;
std::string passphrase_;
};
} // namespace GpgFrontend::UI
#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