• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KIO

  • kio
  • kssl
ksslcertdialog.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 *
3 * Copyright (C) 2001-2003 George Staikos <staikos@kde.org>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21#ifndef _KSSLCERTDIALOG_H
22#define _KSSLCERTDIALOG_H
23
24#include <kio/kio_export.h>
25
26#include <QtCore/QStringList>
27#include <kdialog.h>
28
29class QWidget;
30class QCheckBox;
31class QRadioButton;
32class QListWidget;
33class QPushButton;
34
45class KIO_EXPORT KSSLCertDialog : public KDialog {
46 Q_OBJECT
47public:
55 explicit KSSLCertDialog(QWidget *parent=0L, const char *name=0L,
56 bool modal=false);
57
61 virtual ~KSSLCertDialog();
62
71#ifndef KDE_NO_DEPRECATED
72 KDE_DEPRECATED void setup(QStringList certs, bool saveChecked = false, bool sendChecked = true);
73#endif
74
82 void setupDialog(const QStringList& certs, bool saveChecked = false, bool sendChecked = true);
83
89 QString getChoice();
90
96 bool wantsToSend();
97
103 bool saveChoice();
104
110 void setHost(const QString& host);
111
112private Q_SLOTS:
113 void slotSend();
114 void slotDont();
115
116private:
117 class KSSLCertDialogPrivate;
118 KSSLCertDialogPrivate* const d;
119 QCheckBox *_save;
120 QRadioButton *_send, *_dont;
121 QListWidget *_certs;
122 QPushButton *_ok;
123 QString _host;
124};
125
126
132class KIO_EXPORT KSSLCertDialogRet {
133public:
134 QString choice;
135 bool ok;
136 bool send;
137 bool save;
138};
139
140KIO_EXPORT QDataStream& operator<<(QDataStream& s, const KSSLCertDialogRet& r);
141KIO_EXPORT QDataStream& operator>>(QDataStream& s, KSSLCertDialogRet& r);
142
143#endif
144
KDialog
KSSLCertDialogRet
This class is used in the internal DCOP communication between TPCSlaveBase and kuiserver.
Definition: ksslcertdialog.h:132
KSSLCertDialogRet::send
bool send
Definition: ksslcertdialog.h:136
KSSLCertDialogRet::ok
bool ok
Definition: ksslcertdialog.h:135
KSSLCertDialogRet::choice
QString choice
Definition: ksslcertdialog.h:134
KSSLCertDialogRet::save
bool save
Definition: ksslcertdialog.h:137
KSSLCertDialog
KDE X.509 Certificate Dialog.
Definition: ksslcertdialog.h:45
QListWidget
QPushButton
QWidget
kdialog.h
kio_export.h
operator<<
QDataStream & operator<<(QDataStream &s, const KSSLCertDialogRet &r)
Definition: ksslcertdialog.cpp:159
operator>>
QDataStream & operator>>(QDataStream &s, KSSLCertDialogRet &r)
Definition: ksslcertdialog.cpp:165
name
const char * name(StandardAction id)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal