From 75ec461eeaa851cb5c53f4cfffc434e3e529ed1d Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Mon, 22 Jun 2020 21:10:04 +0200 Subject: Restructures the project source and cleans up a bit --- src/certificateiodialog.hpp | 50 --------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 src/certificateiodialog.hpp (limited to 'src/certificateiodialog.hpp') 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 -#include - -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 -- cgit v1.2.3