PySide6.QtCore.QGenericArgument

class QGenericArgument

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

Inherited by: QGenericReturnArgument

Synopsis

Methods

Note

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

Detailed Description

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

__init__([aName=None[, aData=None]])
Parameters:
  • aName – str

  • aDatavoid

Constructs a QGenericArgument object with the given name and data.

data()
Return type:

void

Returns the data set in the constructor.

name()
Return type:

str

Returns the name set in the constructor.