![]() |
Qt 6.x
The Qt SDK
|
convenience macro creating a new ErrorGroup and registering its groupId as translatable string More...
#include <qqmldomerrormessage_p.h>
Public Member Functions | |
constexpr | ErrorGroup (const char *groupId) |
void | dump (Sink sink) const |
void | dumpId (Sink sink) const |
QLatin1String | groupId () const |
QString | groupName () const |
convenience macro creating a new ErrorGroup and registering its groupId as translatable string
\macro NewErrorGroup
groupId | a 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.
|
inlineconstexpr |
Definition at line 49 of file qqmldomerrormessage_p.h.
Definition at line 40 of file qqmldomerrormessage.cpp.
References groupName().
Definition at line 47 of file qqmldomerrormessage.cpp.
References groupId().
QLatin1String QQmlJS::Dom::ErrorGroup::groupId | ( | ) | const |
Definition at line 54 of file qqmldomerrormessage.cpp.
Referenced by dumpId().
QString QQmlJS::Dom::ErrorGroup::groupName | ( | ) | const |
Definition at line 59 of file qqmldomerrormessage.cpp.
References tr.
Referenced by dump().