• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

KIMAP Library

  • KIMAP
  • SessionUiProxy
Public Types | Public Member Functions | List of all members
KIMAP::SessionUiProxy Class Referenceabstract

#include <sessionuiproxy.h>

Public Types

typedef boost::shared_ptr< SessionUiProxy > Ptr
 

Public Member Functions

virtual bool ignoreSslError (const KSslErrorUiData &errorData)=0
 

Detailed Description

Interface to display communication errors and wait for user feedback.

Definition at line 34 of file sessionuiproxy.h.

Member Function Documentation

◆ ignoreSslError()

virtual bool KIMAP::SessionUiProxy::ignoreSslError ( const KSslErrorUiData &  errorData)
pure virtual

Show an SSL error and ask the user whether it should be ignored or not.

The recommended KDE UI is the following:

#include <kio/ksslui.h>
class UiProxy: public SessionUiProxy {
public:
bool ignoreSslError(const KSslErrorUiData& errorData) {
if (KIO::SslUi::askIgnoreSslErrors(errorData)) {
return true;
} else {
return false;
}
}
};
[...]
Session session(server, port);
UiProxy *proxy = new UiProxy();
session.setUiProxy(proxy);
KIMAP::SessionUiProxy::ignoreSslError
virtual bool ignoreSslError(const KSslErrorUiData &errorData)=0
Show an SSL error and ask the user whether it should be ignored or not.
Parameters
errorDatacontains details about the error.
Returns
true if the error can be ignored

The documentation for this class was generated from the following file:
  • sessionuiproxy.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIMAP Library

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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