En esta página

QGenericArgument Class

La clase QGenericArgument es una clase interna de ayuda para el marshalling de argumentos. Más...

Cabecera: #include <QGenericArgument>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Heredado Por:

QGenericReturnArgument

Funciones Públicas

QGenericArgument(const char *name = nullptr, const void *data = nullptr)
void *data() const
const char *name() const

Descripción detallada

Esta clase nunca debe usarse directamente. En su lugar, utilice la macro Q_ARG().

Véase también Q_ARG(), QMetaObject::invokeMethod(), y QGenericReturnArgument.

Documentación de las funciones miembro

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

Construye un objeto QGenericArgument con los datos name y data.

void *QGenericArgument::data() const

Devuelve el conjunto de datos del constructor.

const char *QGenericArgument::name() const

Devuelve el nombre establecido en el constructor.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.