QGenericArgument Class
La clase QGenericArgument es una clase auxiliar interna destinada a la conversión de argumentos. Más información...
| Encabezado: | #include <QGenericArgument> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| Heredado por: |
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 utilizarse directamente. En su lugar, utilice la macro Q_ARG().
Véase también Q_ARG(), QMetaObject::invokeMethod() y QGenericReturnArgument.
Documentación de las funciones de miembro
QGenericArgument::QGenericArgument(const char *name = nullptr, const void *data = nullptr)
Crea un objeto `QGenericArgument` con los valores ` name ` y ` data` proporcionados.
void *QGenericArgument::data() const
Devuelve el conjunto de datos establecido en el 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.