ksslcertdlg.h
/* This file is part of the KDE project
*
* Copyright (C) 2001-2003 George Staikos <staikos@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 _KSSLCERTDLG_H
#define _KSSLCERTDLG_H
#include <qstringlist.h>
#include <kdialog.h>
class QWidget;
class QCheckBox;
class QRadioButton;
class QListView;
class QPushButton;
class KIO_EXPORT KSSLCertDlg : public KDialog {
Q_OBJECT
public:
KSSLCertDlg(QWidget *parent=0L, const char *name=0L, bool modal=false);
virtual ~KSSLCertDlg();
void setup(QStringList certs, bool saveChecked = false, bool sendChecked = true) KDE_DEPRECATED;
void setupDialog(const QStringList& certs, bool saveChecked = false, bool sendChecked = true);
QString getChoice();
bool wantsToSend();
bool saveChoice();
void setHost(const QString& host);
private slots:
void slotSend();
void slotDont();
private:
class KSSLCertDlgPrivate;
KSSLCertDlgPrivate *d;
QCheckBox *_save;
QRadioButton *_send, *_dont;
QListView *_certs;
QPushButton *_ok;
QString _host;
};
class KIO_EXPORT KSSLCertDlgRet {
public:
bool ok;
QString choice;
bool send;
bool save;
protected:
class KSSLCertDlgRetPrivate;
KSSLCertDlgRetPrivate *d;
};
KIO_EXPORT QDataStream& operator<<(QDataStream& s, const KSSLCertDlgRet& r);
KIO_EXPORT QDataStream& operator>>(QDataStream& s, KSSLCertDlgRet& r);
#endif
KSSLCertDlg
KDE X.509 Certificate Dialog.
Definition: ksslcertdlg.h:43

KDE Home | KDE Accessibility Home | Description of Access Keys