- Qt 6.9
- Qt Core
- C++ Classes
- QGenericReturnArgument
- Qt 6.9.3 Reference Documentation

# QGenericReturnArgument Class

The QGenericReturnArgument class is an internal helper class for marshalling arguments. More...

Header: | `#include <QGenericReturnArgument>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Core)` `target_link_libraries(mytarget PRIVATE Qt6::Core)`
qmake: | `QT += core`
Inherits: | QGenericArgument

- List of all members, including inherited members

## Public Functions

| QGenericReturnArgument(const char *name = nullptr, void *data = nullptr)

## Detailed Description

This class should never be used directly. Please use the Q_RETURN_ARG() macro instead.

See also Q_RETURN_ARG(), QMetaObject::invokeMethod(), and QGenericArgument.

## Member Function Documentation

### QGenericReturnArgument::QGenericReturnArgument(const char *name = nullptr, void *data = nullptr)

Constructs a QGenericReturnArgument object with the given name and data.