• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KIMAP Library

KIMAP::SessionUiProxy

KIMAP::SessionUiProxy Class Reference

Interface to display communication errors and wait for user feedback. More...

#include <sessionuiproxy.h>

List of all members.

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 32 of file sessionuiproxy.h.


Member Function Documentation

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/ksslcertificatemanager.h>
 class UiProxy: public SessionUiProxy {
   public:
     bool ignoreSslError(const KSslErrorUiData& errorData) {
       if (KSslCertificateManager::askIgnoreSslErrors(errorData)) {
         return true;
       } else {
        return false;
       }
     }
 };
 [...]
 Session session(server, port);
 UiProxy *proxy = new UiProxy();
 session.setUiProxy(proxy);
Parameters:
errorData contains 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

KIMAP Library

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

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal