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
qqmlinfo.cpp File Reference

(bf4882a1464435065758aa4169b5f27ef5b22f07)

#include "qqmlinfo.h"
#include "qqmldata_p.h"
#include "qqmlmetatype_p.h"
#include "qqmlengine_p.h"
#include "qqmlsourcecoordinate_p.h"
#include <QCoreApplication>
+ Include dependency graph for qqmlinfo.cpp:

Go to the source code of this file.

Classes

class  QQmlInfoPrivate
 

Macros

#define MESSAGE_FUNCS(FuncName, MessageLevel)
 

Macro Definition Documentation

◆ MESSAGE_FUNCS

#define MESSAGE_FUNCS ( FuncName,
MessageLevel )
Value:
QQmlInfo FuncName(const QObject *me) \
{ \
QQmlInfoPrivate *d = new QQmlInfoPrivate(MessageLevel); \
d->object = me; \
return QQmlInfo(d); \
} \
QQmlInfo FuncName(const QObject *me, const QQmlError &error) \
{ \
QQmlInfoPrivate *d = new QQmlInfoPrivate(MessageLevel); \
d->object = me; \
d->errors << error; \
return QQmlInfo(d); \
} \
QQmlInfo FuncName(const QObject *me, const QList<QQmlError> &errors) \
{ \
QQmlInfoPrivate *d = new QQmlInfoPrivate(MessageLevel); \
d->object = me; \
d->errors = errors; \
return QQmlInfo(d); \
}
\inmodule QtCore
Definition qobject.h:103
The QQmlError class encapsulates a QML error.
Definition qqmlerror.h:18
\inmodule QtQml
Definition qqmlinfo.h:30
DBusConnection const char DBusError * error

Definition at line 223 of file qqmlinfo.cpp.