PySide::MetaFunction Namespace

namespace PySide::MetaFunction

Namespace for meta functions. More...

Header: #include <pysidemetafunction.h>

Variables

PySideMetaFunction *newObject

Functions

bool call(QObject *self, int methodIndex, PyObject *args, PyObject **retVal = nullptr)

Detailed Description

Variable Documentation

PySideMetaFunction *MetaFunction::newObject

Creates a MetaFunction object for the method methodIndex of the meta object of the QObject source. Returns a new reference to the PySideMetaFunction.

Function Documentation

bool MetaFunction::call(QObject *self, int methodIndex, PyObject *args, PyObject **retVal = nullptr)

Does a Qt metacall on the QObject self for the method methodIndex with the arguments args, storing the return value in retVal if it is not nullptr.