Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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.

◆ description()

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

Definition at line 48 of file qerrorinfo_p.h.

◆ 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.


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