QGenericArgument Class
The QGenericArgument class is an internal helper class for marshalling arguments. 更多...
头文件: | #include <QGenericArgument> |
qmake: | QT += core |
派生类: |
公有函数
QGenericArgument(const char *name = Q_NULLPTR, const void *data = Q_NULLPTR) | |
void * | data() const |
const char * | name() const |
详细描述
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.
参见 Q_ARG(), QMetaObject::invokeMethod(), and QGenericReturnArgument.
成员函数
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.