aboutsummaryrefslogtreecommitdiff
path: root/src/dialogs/certificatemanagementdialog.hpp
diff options
context:
space:
mode:
authorFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
committerFelix (xq) Queißner <git@mq32.de>2020-06-22 21:10:04 +0200
commit75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch)
tree3944737340718ca3675381aa06636045d397e780 /src/dialogs/certificatemanagementdialog.hpp
parent8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff)
downloadkristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz
Restructures the project source and cleans up a bit
Diffstat (limited to 'src/dialogs/certificatemanagementdialog.hpp')
-rw-r--r--src/dialogs/certificatemanagementdialog.hpp45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/dialogs/certificatemanagementdialog.hpp b/src/dialogs/certificatemanagementdialog.hpp
new file mode 100644
index 0000000..0d7178a
--- /dev/null
+++ b/src/dialogs/certificatemanagementdialog.hpp
@@ -0,0 +1,45 @@
+#ifndef CERTIFICATEMANAGEMENTDIALOG_HPP
+#define CERTIFICATEMANAGEMENTDIALOG_HPP
+
+#include <QDialog>
+
+#include "cryptoidentity.hpp"
+
+namespace Ui {
+class CertificateManagementDialog;
+}
+
+class CertificateManagementDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit CertificateManagementDialog(QWidget *parent = nullptr);
+ ~CertificateManagementDialog();
+
+private slots:
+ void on_cert_notes_textChanged();
+
+ void on_cert_display_name_textChanged(const QString &arg1);
+
+ void on_delete_cert_button_clicked();
+
+ void on_export_cert_button_clicked();
+
+ void on_import_cert_button_clicked();
+
+ void on_create_cert_button_clicked();
+
+ void on_cert_host_filter_textChanged(const QString &arg1);
+
+ void on_cert_auto_enable_clicked(bool checked);
+
+private:
+ void on_certificates_selected(const QModelIndex &index, QModelIndex const & previous);
+private:
+ Ui::CertificateManagementDialog *ui;
+
+ CryptoIdentity * selected_identity;
+};
+
+#endif // CERTIFICATEMANAGEMENTDIALOG_HPP