2015-02-25 19:00:27 +03:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 by nocteau
|
|
|
|
* Copyright (C) 2015 by Daniel Molkentin <danimo@owncloud.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
2016-10-25 12:00:07 +03:00
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2015-02-25 19:00:27 +03:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
2014-11-18 18:44:14 +03:00
|
|
|
#ifndef ADDCERTIFICATEDIALOG_H
|
|
|
|
#define ADDCERTIFICATEDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QString>
|
|
|
|
|
|
|
|
namespace OCC {
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class AddCertificateDialog;
|
|
|
|
}
|
|
|
|
|
2015-06-29 19:56:09 +03:00
|
|
|
/**
|
|
|
|
* @brief The AddCertificateDialog class
|
|
|
|
* @ingroup gui
|
2015-06-26 18:07:47 +03:00
|
|
|
*/
|
2014-11-18 18:44:14 +03:00
|
|
|
class AddCertificateDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2018-11-11 12:56:22 +03:00
|
|
|
explicit AddCertificateDialog(QWidget *parent = nullptr);
|
2014-11-18 18:44:14 +03:00
|
|
|
~AddCertificateDialog();
|
|
|
|
QString getCertificatePath();
|
|
|
|
QString getCertificatePasswd();
|
2015-01-23 22:08:14 +03:00
|
|
|
void showErrorMessage(const QString message);
|
2015-01-28 19:38:38 +03:00
|
|
|
void reinit();
|
2014-11-18 18:44:14 +03:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_pushButtonBrowseCertificate_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::AddCertificateDialog *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
} //End namespace OCC
|
|
|
|
|
|
|
|
#endif // ADDCERTIFICATEDIALOG_H
|