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
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 46 of file qqmldomerrormessage_p.h.

Constructor & Destructor Documentation

◆ ErrorGroup()

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

Definition at line 50 of file qqmldomerrormessage_p.h.

Member Function Documentation

◆ dump()

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

Definition at line 42 of file qqmldomerrormessage.cpp.

◆ dumpId()

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

Definition at line 49 of file qqmldomerrormessage.cpp.

◆ groupId()

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

Definition at line 56 of file qqmldomerrormessage.cpp.

◆ groupName()

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

Definition at line 61 of file qqmldomerrormessage.cpp.


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