In questa pagina

QGenericArgument Class

La classe QGenericArgument è una classe di supporto interna per il marshalling degli argomenti. Per saperne di più...

Intestazione: #include <QGenericArgument>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Ereditato da:

QGenericReturnArgument

Funzioni pubbliche

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

Descrizione dettagliata

Questa classe non deve mai essere utilizzata direttamente. Si prega di utilizzare invece la macro Q_ARG().

Vedi anche Q_ARG(), QMetaObject::invokeMethod() e QGenericReturnArgument.

Documentazione delle funzioni membro

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

Crea un oggetto QGenericArgument con i valori specificati per name e data.

void *QGenericArgument::data() const

Restituisce il set di dati specificato nel costruttore.

const char *QGenericArgument::name() const

Restituisce il nome impostato nel costruttore.

© 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.