aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/help/GnupgTab.h
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-12-21 08:45:34 +0000
committerSaturneric <[email protected]>2022-12-21 08:45:34 +0000
commitc0b0c797b94bbd04e0c4c00b4e6c28bf8272638f (patch)
tree91af9d8525d8a462bc6bb2142fe91b0de39f3539 /src/ui/dialog/help/GnupgTab.h
parentfeat(ui, core): add custom key db support (diff)
downloadGpgFrontend-c0b0c797b94bbd04e0c4c00b4e6c28bf8272638f.tar.gz
GpgFrontend-c0b0c797b94bbd04e0c4c00b4e6c28bf8272638f.zip
feat: upgrade GnuPG Info Tab
Diffstat (limited to 'src/ui/dialog/help/GnupgTab.h')
-rw-r--r--src/ui/dialog/help/GnupgTab.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/ui/dialog/help/GnupgTab.h b/src/ui/dialog/help/GnupgTab.h
index 4fc7ff22..c143bae3 100644
--- a/src/ui/dialog/help/GnupgTab.h
+++ b/src/ui/dialog/help/GnupgTab.h
@@ -35,8 +35,9 @@
#include "core/GpgContext.h"
#include "ui/GpgFrontendUI.h"
-namespace GpgFrontend::UI{
-class GnupgTab: public QWidget {
+class Ui_GnuPGInfo;
+namespace GpgFrontend::UI {
+class GnupgTab : public QWidget {
Q_OBJECT
public:
/**
@@ -45,9 +46,14 @@ class GnupgTab: public QWidget {
* @param parent
*/
explicit GnupgTab(QWidget* parent = nullptr);
-};
-}
+ private:
+ std::shared_ptr<Ui_GnuPGInfo> ui_;
+ QProcess* gpgconf_process_;
+ private slots:
+ void process_components_info(int, QProcess::ExitStatus);
+};
+} // namespace GpgFrontend::UI
#endif // GPGFRONTEND_GNUPGTAB_H