ksslcertdlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef _KSSLCERTDLG_H
00022
#define _KSSLCERTDLG_H
00023
00024
#include <qstringlist.h>
00025
#include <kdialog.h>
00026
00027
class QWidget;
00028
class QCheckBox;
00029
class QRadioButton;
00030
class QListView;
00031
class QPushButton;
00032
00043 class KIO_EXPORT KSSLCertDlg :
public KDialog {
00044 Q_OBJECT
00045
public:
00053 KSSLCertDlg(
QWidget *parent=0L,
const char *name=0L,
bool modal=
false);
00054
00058
virtual ~KSSLCertDlg();
00059
00068
void setup(
QStringList certs,
bool saveChecked =
false,
bool sendChecked =
true) KDE_DEPRECATED;
00069
00077
void setupDialog(
const QStringList& certs,
bool saveChecked =
false,
bool sendChecked =
true);
00078
00084
QString getChoice();
00085
00091
bool wantsToSend();
00092
00098
bool saveChoice();
00099
00105
void setHost(
const QString& host);
00106
00107
private slots:
00108
void slotSend();
00109
void slotDont();
00110
00111
private:
00112
class KSSLCertDlgPrivate;
00113 KSSLCertDlgPrivate *d;
00114
QCheckBox *_save;
00115
QRadioButton *_send, *_dont;
00116
QListView *_certs;
00117
QPushButton *_ok;
00118
QString _host;
00119 };
00120
00121
00122
class KIO_EXPORT KSSLCertDlgRet {
00123
public:
00124
bool ok;
00125
QString choice;
00126
bool send;
00127
bool save;
00128
00129
protected:
00130
class KSSLCertDlgRetPrivate;
00131 KSSLCertDlgRetPrivate *d;
00132 };
00133
00134 KIO_EXPORT
QDataStream&
operator<<(
QDataStream& s,
const KSSLCertDlgRet& r);
00135 KIO_EXPORT
QDataStream& operator>>(
QDataStream& s, KSSLCertDlgRet& r);
00136
00137
#endif
00138
This file is part of the documentation for kio Library Version 3.4.0.