summaryrefslogtreecommitdiff
path: root/src/sslinfodialog_p.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-09 17:54:28 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-18 11:32:51 +0200
commitacad08fb9884541431030a851d587c25d7e9acf0 (patch)
treec6744e7733ee0c7a10eafda37c08383d688f30dd /src/sslinfodialog_p.h
parentNew SSL Widget implementation (diff)
downloadrekonq-acad08fb9884541431030a851d587c25d7e9acf0.tar.xz
Improving SSL Widget and Dialog
While the widget "copies" and "rethink" Google Chrome actual one, the dialog has been implemented starting from the comparison between the ones we have in KDE, Google Chrome's and Firefox's. I have to start from somewhere...
Diffstat (limited to 'src/sslinfodialog_p.h')
-rw-r--r--src/sslinfodialog_p.h107
1 files changed, 0 insertions, 107 deletions
diff --git a/src/sslinfodialog_p.h b/src/sslinfodialog_p.h
deleted file mode 100644
index 72f16791..00000000
--- a/src/sslinfodialog_p.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/* This file is part of the KDE project
- *
- * Copyright (C) 2000-2003 George Staikos <staikos@kde.org>
- * Copyright (C) 2000 Malte Starostik <malte@kde.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-
-#ifndef SSLINFODIALOG_P_H
-#define SSLINFODIALOG_P_H
-
-#include <kdemacros.h>
-
-#include <KDE/KDialog>
-#include <ktcpsocket.h>
-
-// NOTE: We need a copy of this header file is needed here because it
-// is never installed by default by KIO.
-
-/**
- * KDE SSL Information Dialog
- *
- * This class creates a dialog that can be used to display information about
- * an SSL session.
- *
- * There are NO GUARANTEES that KSslInfoDialog will remain binary compatible/
- * Contact staikos@kde.org for details if needed.
- *
- * @author George Staikos <staikos@kde.org>
- * @see KSSL
- * @short KDE SSL Information Dialog
- */
-class KDE_EXPORT KSslInfoDialog : public KDialog
-{
- Q_OBJECT
-
-public:
- /**
- * Construct a KSSL Information Dialog
- *
- * @param parent the parent widget
- */
- explicit KSslInfoDialog(QWidget *parent = 0);
-
- /**
- * Destroy this dialog
- */
- virtual ~KSslInfoDialog();
-
- /**
- * Tell the dialog if the connection has portions that may not be
- * secure (ie. a mixture of secure and insecure frames)
- *
- * @param isIt true if security is in question
- */
- void setSecurityInQuestion(bool isIt);
-
- /**
- * Set information to display about the SSL connection.
- *
- * @param certificateChain the certificate chain leading from the certificate
- * authority to the peer.
- * @param ip the ip of the remote host
- * @param host the remote hostname
- * @param sslProtocol the version of SSL in use (SSLv2, SSLv3, TLSv1)
- * @param cipher the cipher in use
- * @param usedBits the used bits of the key
- * @param bits the key size of the cipher in use
- * @param validationErrors errors validating the certificates, if any
- */
- void setSslInfo(const QList<QSslCertificate> &certificateChain,
- const QString &ip, const QString &host,
- const QString &sslProtocol, const QString &cipher,
- int usedBits, int bits,
- const QList<QList<KSslError::Error> > &validationErrors);
-
- void setMainPartEncrypted(bool);
- void setAuxiliaryPartsEncrypted(bool);
-
- static QList<QList<KSslError::Error> > errorsFromString(const QString &s);
-
-private Q_SLOTS:
- void launchConfig();
- void displayFromChain(int);
-
-private:
- void updateWhichPartsEncrypted();
-
- class KSslInfoDialogPrivate;
- KSslInfoDialogPrivate* const d;
-};
-
-#endif // SSLINFODIALOG_P_H