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"
36 #include "ui/dialog/GeneralDialog.h"
38 class Ui_ModifiedExpirationDateTime;
52 QWidget* parent =
nullptr);
62 QWidget* parent =
nullptr);
69 void SignalKeyExpireDateUpdated();
78 std::shared_ptr<Ui_ModifiedExpirationDateTime> ui_;
80 const SubkeyId m_subkey_;
99 #endif // GPGFRONTEND_KEYSETEXPIREDATEDIALOG_H
void slot_non_expired_checked(int state)
Definition: KeySetExpireDateDialog.cpp:140
Definition: FileReadTask.cpp:31
Definition: KeySetExpireDateDialog.h:42
std::string GetId() const
Definition: GpgKey.cpp:52
static GpgKeyOpera & GetInstance(int channel=GpgFrontend::GPGFRONTEND_DEFAULT_CHANNEL)
Get the Instance object.
Definition: GpgFunctionObject.h:170
libconfig::Setting & GetUISettings() noexcept
Definition: GlobalSettingStation.h:63
Definition: GeneralDialog.h:35
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:75
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:103
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:63
static SignalStation * GetInstance()
Get the Instance object.
Definition: SignalStation.cpp:37