QGenericArgument Class▲
-
Header: QGenericArgument
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
-
qmake: QT += core
-
Inherited By: QGenericReturnArgument
Detailed Description▲
This class should never be used directly. Please use the Q_ARG() macro instead.
See Also▲
See also Q_ARG(), QMetaObject::invokeMethod(), QGenericReturnArgument
Member Function Documentation▲
QGenericArgument::QGenericArgument(const char *name = nullptr, const void *data = nullptr)▲
Constructs a QGenericArgument object with the given name and data.
void *QGenericArgument::data() const▲
Returns the data set in the constructor.
const char *QGenericArgument::name() const▲
Returns the name set in the constructor.