KIO
displaycertdialog_p.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2010 Andreas Hartmetz <ahartmetz@gmail.com> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 00017 02110-1301, USA. 00018 */ 00019 00020 #ifndef DISPLAYCERTDIALOG_P_H 00021 #define DISPLAYCERTDIALOG_P_H 00022 00023 #include "ui_displaycert.h" 00024 #include <QtNetwork/QSslCertificate> 00025 00026 class DisplayCertDialog : public KDialog 00027 { 00028 Q_OBJECT 00029 public: 00030 DisplayCertDialog(QWidget *parent); 00031 void setCertificates(const QList<QSslCertificate> &certs); 00032 private: 00033 void showCertificate(int index); 00034 private Q_SLOTS: 00035 void nextClicked(); 00036 void previousClicked(); 00037 00038 private: 00039 Ui::DisplayCert m_ui; 00040 QList<QSslCertificate> m_certs; 00041 int m_index; 00042 }; 00043 #endif // DISPLAYCERTDIALOG_P_H
KDE 4.6 API Reference