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 = Q_NULLPTR, const void *data = Q_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 = Q_NULLPTR, const void *data = Q_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.

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