GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
|
29 #ifndef GPGFRONTEND_KEYSETEXPIREDATEDIALOG_H
30 #define GPGFRONTEND_KEYSETEXPIREDATEDIALOG_H
32 #include "core/GpgContext.h"
33 #include "core/model/GpgKey.h"
34 #include "core/model/GpgSubKey.h"
35 #include "ui/GpgFrontendUI.h"
37 class Ui_ModifiedExpirationDateTime;
51 QWidget* parent =
nullptr);
61 QWidget* parent =
nullptr);
68 void SignalKeyExpireDateUpdated();
77 std::shared_ptr<Ui_ModifiedExpirationDateTime> ui_;
79 const SubkeyId m_subkey_;
98 #endif // GPGFRONTEND_KEYSETEXPIREDATEDIALOG_H
void slot_non_expired_checked(int state)
Definition: KeySetExpireDateDialog.cpp:138
Definition: FileReadTask.cpp:31
Definition: KeySetExpireDateDialog.h:41
std::string GetId() const
Definition: GpgKey.cpp:54
static GpgKeyOpera & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:181
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:68
Definition: GpgKeyGetter.h:45
GpgError SetExpire(const GpgKey &key, const SubkeyId &subkey_fpr, std::unique_ptr< boost::posix_time::ptime > &expires)
Set the Expire object.
Definition: GpgKeyOpera.cpp:76
KeySetExpireDateDialog(const KeyId &key_id, QWidget *parent=nullptr)
Construct a new Key Set Expire Date Dialog object.
Definition: KeySetExpireDateDialog.cpp:41
boost::posix_time::ptime GetExpireTime() const
Definition: GpgKey.cpp:105
GPGFRONTEND_CORE_EXPORT gpg_err_code_t check_gpg_error_2_err_code(gpgme_error_t err, gpgme_error_t predict=GPG_ERR_NO_ERROR)
Definition: GpgConstants.cpp:66
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37