aboutsummaryrefslogtreecommitdiff
path: root/src/certificateiodialog.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/certificateiodialog.hpp
parent8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff)
downloadkristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz
Restructures the project source and cleans up a bit
Diffstat (limited to 'src/certificateiodialog.hpp')
-rw-r--r--src/certificateiodialog.hpp50
1 files changed, 0 insertions, 50 deletions
diff --git a/src/certificateiodialog.hpp b/src/certificateiodialog.hpp
deleted file mode 100644
index 590b282..0000000
--- a/src/certificateiodialog.hpp
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef CERTIFICATEIODIALOG_HPP
-#define CERTIFICATEIODIALOG_HPP
-
-#include <QDialog>
-#include <QSsl>
-
-namespace Ui {
-class CertificateIoDialog;
-}
-
-class CertificateIoDialog : public QDialog
-{
- Q_OBJECT
-public:
- enum IoMode {
- Import,
- Export
- };
-public:
- explicit CertificateIoDialog(QWidget *parent = nullptr);
- ~CertificateIoDialog();
-
- IoMode mode() const { return this->current_mode; }
- void setIoMode(IoMode mode);
-
- QSsl::KeyAlgorithm keyAlgorithm() const;
- void setKeyAlgorithm(QSsl::KeyAlgorithm alg);
-
- QString keyFileName() const;
- QString certificateFileName() const;
-
-private slots:
- void on_select_certificate_file_button_clicked();
-
- void on_select_key_file_button_clicked();
-
- void on_certificate_file_name_textChanged(const QString &arg1);
-
- void on_key_file_name_textChanged(const QString &arg1);
-
-private:
- void updateUI();
-
-private:
- Ui::CertificateIoDialog *ui;
-
- IoMode current_mode;
-};
-
-#endif // CERTIFICATEIODIALOG_HPP