KIMAP Library
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 Typedef Documentation
◆ Ptr
typedef boost::shared_ptr<SessionUiProxy> KIMAP::SessionUiProxy::Ptr |
Definition at line 37 of file sessionuiproxy.h.
Constructor & Destructor Documentation
◆ ~SessionUiProxy()
|
inlinevirtual |
Definition at line 39 of file sessionuiproxy.h.
Member Function Documentation
◆ ignoreSslError()
|
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>
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);
Interface to display communication errors and wait for user feedback.
Definition: sessionuiproxy.h:35
- 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.