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
QQmlJS::Dom::ErrorGroup Class Reference

convenience macro creating a new ErrorGroup and registering its groupId as translatable string More...

#include <qqmldomerrormessage_p.h>

+ Collaboration diagram for QQmlJS::Dom::ErrorGroup:

Public Member Functions

constexpr ErrorGroup (const char *groupId)
 
void dump (const Sink &sink) const
 
void dumpId (const Sink &sink) const
 
QLatin1String groupId () const
 
QString groupName () const
 

Detailed Description

convenience macro creating a new ErrorGroup and registering its groupId as translatable string

\macro NewErrorGroup

Parameters
groupIda double qouted string giving the groupId for this group

Represents a tag grouping a set of related error messages, it can be used to disable them

Every group has a unique string identifying it (the \l{groupId}), and it should be a string that can be translated to get the local name. The best way to acheive this is to create new groups using the NewErrorGroup macro.

Definition at line 45 of file qqmldomerrormessage_p.h.

Constructor & Destructor Documentation

◆ ErrorGroup()

constexpr QQmlJS::Dom::ErrorGroup::ErrorGroup ( const char * groupId)
inlineconstexpr

Definition at line 49 of file qqmldomerrormessage_p.h.

Member Function Documentation

◆ dump()

void QQmlJS::Dom::ErrorGroup::dump ( const Sink & sink) const

Definition at line 40 of file qqmldomerrormessage.cpp.

References groupName().

+ Here is the call graph for this function:

◆ dumpId()

void QQmlJS::Dom::ErrorGroup::dumpId ( const Sink & sink) const

Definition at line 47 of file qqmldomerrormessage.cpp.

References groupId().

+ Here is the call graph for this function:

◆ groupId()

QLatin1String QQmlJS::Dom::ErrorGroup::groupId ( ) const

Definition at line 54 of file qqmldomerrormessage.cpp.

Referenced by dumpId().

+ Here is the caller graph for this function:

◆ groupName()

QString QQmlJS::Dom::ErrorGroup::groupName ( ) const

Definition at line 59 of file qqmldomerrormessage.cpp.

References tr.

Referenced by dump().

+ Here is the caller graph for this function:

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