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 <kdialog.h>
00025
#include <qstringlist.h>
00026
#include <kdemacros.h>
00027
00028
class QWidget;
00029
class QCheckBox;
00030
class QRadioButton;
00031
class QListView;
00032
class QPushButton;
00033
00044 class KSSLCertDlg :
public KDialog {
00045 Q_OBJECT
00046
public:
00054
KSSLCertDlg(
QWidget *parent=0L,
const char *name=0L,
bool modal=
false);
00055
00059
virtual ~KSSLCertDlg();
00060
00069
void setup(
QStringList certs,
bool saveChecked =
false,
bool sendChecked =
true) KDE_DEPRECATED;
00070
00078
void setupDialog(
const QStringList& certs,
bool saveChecked =
false,
bool sendChecked =
true);
00079
00085
QString getChoice();
00086
00092
bool wantsToSend();
00093
00099
bool saveChoice();
00100
00106
void setHost(
const QString& host);
00107
00108
private slots:
00109
void slotSend();
00110
void slotDont();
00111
00112
private:
00113
class KSSLCertDlgPrivate;
00114 KSSLCertDlgPrivate *d;
00115
QCheckBox *_save;
00116
QRadioButton *_send, *_dont;
00117
QListView *_certs;
00118
QPushButton *_ok;
00119
QString _host;
00120 };
00121
00122
00123
class KSSLCertDlgRet {
00124
public:
00125
bool ok;
00126
QString choice;
00127
bool send;
00128
bool save;
00129
00130
protected:
00131
class KSSLCertDlgRetPrivate;
00132 KSSLCertDlgRetPrivate *d;
00133 };
00134
00135
QDataStream&
operator<<(
QDataStream& s,
const KSSLCertDlgRet& r);
00136
QDataStream& operator>>(
QDataStream& s, KSSLCertDlgRet& r);
00137
00138
00139
00140
00141
#endif
00142
This file is part of the documentation for kio Library Version 3.3.0.