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

KIO

  • sources
  • kde-4.14
  • kdelibs
  • 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 
29 class QWidget;
30 class QCheckBox;
31 class QRadioButton;
32 class QListWidget;
33 class QPushButton;
34 
45 class KIO_EXPORT KSSLCertDialog : public KDialog {
46  Q_OBJECT
47 public:
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 
112 private Q_SLOTS:
113  void slotSend();
114  void slotDont();
115 
116 private:
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 
132 class KIO_EXPORT KSSLCertDialogRet {
133 public:
134  QString choice;
135  bool ok;
136  bool send;
137  bool save;
138 };
139 
140 KIO_EXPORT QDataStream& operator<<(QDataStream& s, const KSSLCertDialogRet& r);
141 KIO_EXPORT QDataStream& operator>>(QDataStream& s, KSSLCertDialogRet& r);
142 
143 #endif
144 
kio_export.h
kdialog.h
QWidget
QDataStream
name
const char * name(StandardAction id)
KDialog
KSSLCertDialogRet::ok
bool ok
Definition: ksslcertdialog.h:135
QListWidget
KSSLCertDialogRet::save
bool save
Definition: ksslcertdialog.h:137
KSSLCertDialogRet::send
bool send
Definition: ksslcertdialog.h:136
QCheckBox
QString
operator<<
QDataStream & operator<<(QDataStream &s, const KSSLCertDialogRet &r)
Definition: ksslcertdialog.cpp:159
QStringList
KSSLCertDialog
KDE X.509 Certificate Dialog.
Definition: ksslcertdialog.h:45
operator>>
QDataStream & operator>>(QDataStream &s, KSSLCertDialogRet &r)
Definition: ksslcertdialog.cpp:165
KSSLCertDialogRet::choice
QString choice
Definition: ksslcertdialog.h:134
KSSLCertDialogRet
This class is used in the internal DCOP communication between TPCSlaveBase and kuiserver.
Definition: ksslcertdialog.h:132
QRadioButton
QPushButton
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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

Search



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