class QGenericArgument#

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

Inherited by: QGenericReturnArgument

概述#

方法#

备注

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

详细描述#

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

另请参阅

Q_ARG() invokeMethod() QGenericReturnArgument

__init__([aName=None[, aData=None]])#
参数:
  • aName - str

  • aData - void

构造一个具有指定 namedataQGenericArgument 对象。

data()#
返回类型::

void

返回构造时设置的 data。

name()#
返回类型::

str

返回构造时设置的 name。