Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

QGenericArgument Class

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

Header: #include <QGenericArgument>
qmake: QT += core
Inherited By:

QGenericReturnArgument

Public Functions

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

Detailed Description

The QGenericArgument class is an internal helper class for marshalling arguments.

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

See also Q_ARG(), QMetaObject::invokeMethod(), and 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.