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
QGenericArgument Class Reference

\macro QMetaMethodArgument Q_ARG(Type, const Type &value) More...

+ Collaboration diagram for QGenericArgument:

Detailed Description

\macro QMetaMethodArgument Q_ARG(Type, const Type &value)

This macro takes a Type and a value of that type and returns a QMetaMethodArgument, which can be passed to the template QMetaObject::invokeMethod() with the {Args &&...} arguments.

See also
Q_RETURN_ARG()

\macro QMetaMethodReturnArgument Q_RETURN_ARG(Type, Type &value)

This macro takes a Type and a non-const reference to a value of that type and returns a QMetaMethodReturnArgument, which can be passed to the template QMetaObject::invokeMethod() with the {Args &&...} arguments.

See also
Q_ARG()

\inmodule QtCore

The QGenericArgument class is an internal helper class for marshalling arguments.

This class should never be used directly. Please use the \l Q_ARG() macro instead.

See also
Q_ARG(), QMetaObject::invokeMethod(), QGenericReturnArgument

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