File indexing completed on 2024-05-05 04:41:02
0001 /* 0002 SPDX-FileCopyrightText: 2007 Dukju Ahn <dukjuahn@gmail.com> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPLATFORM_PLUGIN_SVN_SSLDIALOG_H 0008 #define KDEVPLATFORM_PLUGIN_SVN_SSLDIALOG_H 0009 0010 #include <QDialog> 0011 0012 class QDialogButtonBox; 0013 class QAbstractButton; 0014 0015 class SvnSSLTrustDialog: public QDialog 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit SvnSSLTrustDialog( QWidget *parent = nullptr ); 0020 ~SvnSSLTrustDialog() override; 0021 0022 void setCertInfos( const QString& hostname, const QString& fingerPrint, 0023 const QString& validfrom, const QString& validuntil, 0024 const QString& issuerName, const QString& realm, 0025 const QStringList& failures ); 0026 bool useTemporarily(); 0027 private Q_SLOTS: 0028 void buttonClicked(QAbstractButton *button); 0029 private: 0030 class SvnSSLTrustDialogPrivate *d; 0031 QDialogButtonBox *buttonBox; 0032 }; 0033 0034 #endif