aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpg/GpgUID.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-06 19:41:06 +0000
committerSaturneric <[email protected]>2021-06-06 19:41:06 +0000
commit7191b3bb0caf9d74648820b094a8af63f618e8a8 (patch)
treea94bac8131da0128b562f0d874bfbdfa271214c8 /include/gpg/GpgUID.h
parentAdjust and improve the detailed interface of the verification information res... (diff)
downloadGpgFrontend-7191b3bb0caf9d74648820b094a8af63f618e8a8.tar.gz
GpgFrontend-7191b3bb0caf9d74648820b094a8af63f618e8a8.zip
Add encryption and signature function.
Adjust and improve the dashboard control. Modify and adjust GpgSignature. Separate Verify result processing code in code structure. Add additional operation toolbar function. Adjust and optimize code structure. Signed-off-by: Saturneric <[email protected]>
Diffstat (limited to '')
-rw-r--r--include/gpg/GpgUID.h (renamed from include/gpg/UID.h)24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/gpg/UID.h b/include/gpg/GpgUID.h
index c048c7ad..99fe828f 100644
--- a/include/gpg/UID.h
+++ b/include/gpg/GpgUID.h
@@ -22,16 +22,16 @@
*
*/
-#ifndef GPGFRONTEND_UID_H
-#define GPGFRONTEND_UID_H
+#ifndef GPGFRONTEND_GPGUID_H
+#define GPGFRONTEND_GPGUID_H
#include <utility>
#include "GpgFrontend.h"
-#include "Signature.h"
+#include "GpgKeySignature.h"
-struct UID {
+struct GpgUID {
QString name{};
@@ -45,17 +45,17 @@ struct UID {
bool invalid;
- QVector<Signature> signatures;
+ QVector<GpgKeySignature> signatures;
- UID() = default;
+ GpgUID() = default;
- explicit UID(gpgme_user_id_t user_id);
+ explicit GpgUID(gpgme_user_id_t user_id);
- UID(UID &&) noexcept = default;
- UID(const UID &) = default;
- UID& operator=(UID &&) noexcept = default;
- UID& operator=(const UID &) = default;
+ GpgUID(GpgUID &&) noexcept = default;
+ GpgUID(const GpgUID &) = default;
+ GpgUID& operator=(GpgUID &&) noexcept = default;
+ GpgUID& operator=(const GpgUID &) = default;
};
-#endif //GPGFRONTEND_UID_H \ No newline at end of file
+#endif //GPGFRONTEND_GPGUID_H \ No newline at end of file