Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QErrorInfo< ErrorCode, NoError > Class Template Reference

#include <qerrorinfo_p.h>

+ Collaboration diagram for QErrorInfo< ErrorCode, NoError >:

Public Member Functions

 QErrorInfo (ErrorCode error=NoError, QString description={})
 
template<typename Notifier >
void setAndNotify (ErrorCode code, QString description, Notifier &notifier)
 
ErrorCode code () const
 
QString description () const
 

Detailed Description

template<typename ErrorCode, ErrorCode NoError = ErrorCode::NoError>
class QErrorInfo< ErrorCode, NoError >

Definition at line 24 of file qerrorinfo_p.h.

Constructor & Destructor Documentation

◆ QErrorInfo()

template<typename ErrorCode , ErrorCode NoError = ErrorCode::NoError>
QErrorInfo< ErrorCode, NoError >::QErrorInfo ( ErrorCode error = NoError,
QString description = {} )
inline

Definition at line 27 of file qerrorinfo_p.h.

Member Function Documentation

◆ code()

template<typename ErrorCode , ErrorCode NoError = ErrorCode::NoError>
ErrorCode QErrorInfo< ErrorCode, NoError >::code ( ) const
inline

Definition at line 47 of file qerrorinfo_p.h.

Referenced by QPlatformSurfaceCapture::error(), and QErrorInfo< ErrorCode, NoError >::setAndNotify().

+ Here is the caller graph for this function:

◆ description()

template<typename ErrorCode , ErrorCode NoError = ErrorCode::NoError>
QString QErrorInfo< ErrorCode, NoError >::description ( ) const
inline

Definition at line 48 of file qerrorinfo_p.h.

Referenced by QPlatformSurfaceCapture::errorString(), and QErrorInfo< ErrorCode, NoError >::setAndNotify().

+ Here is the caller graph for this function:

◆ setAndNotify()

template<typename ErrorCode , ErrorCode NoError = ErrorCode::NoError>
template<typename Notifier >
void QErrorInfo< ErrorCode, NoError >::setAndNotify ( ErrorCode code,
QString description,
Notifier & notifier )
inline

Definition at line 33 of file qerrorinfo_p.h.

References QErrorInfo< ErrorCode, NoError >::code(), QErrorInfo< ErrorCode, NoError >::description(), emit, NoError, and notifier.

Referenced by QPlatformSurfaceCapture::updateError(), and QPlatformMediaRecorder::updateError().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: