Qt 4.8
Classes | Functions
qsslerror.h File Reference
#include <QtCore/qvariant.h>
#include <QtNetwork/qsslcertificate.h>

Go to the source code of this file.

Classes

class  QSslError
 The QSslError class provides an SSL error. More...
 

Functions

Q_NETWORK_EXPORT QDebug operator<< (QDebug debug, const QSslError &error)
 
Q_NETWORK_EXPORT QDebug operator<< (QDebug debug, const QSslError::SslError &error)
 

Function Documentation

◆ operator<<() [1/2]

Q_NETWORK_EXPORT QDebug operator<< ( QDebug  debug,
const QSslError error 
)

Definition at line 324 of file qsslerror.cpp.

325 {
326  debug << error.errorString();
327  return debug;
328 }
QString errorString() const
Returns a short localized human-readable description of the error.
Definition: qsslerror.cpp:224

◆ operator<<() [2/2]

Q_NETWORK_EXPORT QDebug operator<< ( QDebug  debug,
const QSslError::SslError error 
)

Definition at line 329 of file qsslerror.cpp.

330 {
331  debug << QSslError(error).errorString();
332  return debug;
333 }
#define error(msg)
QString errorString() const
Returns a short localized human-readable description of the error.
Definition: qsslerror.cpp:224
The QSslError class provides an SSL error.
Definition: qsslerror.h:58