stores information about a slot, including a next pointer to overloaded slots More...
#include <PythonQtMethodInfo.h>
stores information about a slot, including a next pointer to overloaded slots
Definition at line 152 of file PythonQtMethodInfo.h.
◆ Type ◆ PythonQtSlotInfo() [1/2] ◆ PythonQtSlotInfo() [2/2]Definition at line 170 of file PythonQtMethodInfo.h.
171 {
177 _next = nullptr;
179 _type = type;
180 _upcastingOffset = 0;
181 }
stores information about a specific signal/slot/method
static const PythonQtMethodInfo * getCachedMethodInfo(const QMetaMethod &method, PythonQtClassInfo *classInfo)
int slotIndex() const
get the index of the slot (needed for qt_metacall)
QObject * decorator() const
References PythonQtConvertPairToPython().
◆ arguments()get the parameter infos for the arguments, without return type and instance decorator.
◆ decorator() QObject * PythonQtSlotInfo::decorator ( ) const inline ◆ deleteOverloadsAndThis() void PythonQtSlotInfo::deleteOverloadsAndThis ( ) ◆ fullSignature() QString PythonQtSlotInfo::fullSignature ( bool skipReturnValue =false
, int optionalArgsIndex = -1
) const
get the full signature including return type
◆ getGlobalShouldAllowThreads() static bool PythonQtSlotInfo::getGlobalShouldAllowThreads ( ) staticReturns if calling slots should release the GIL to allow Python threads while being inside of C++.
◆ getImplementingClassName() QByteArray PythonQtSlotInfo::getImplementingClassName ( ) constReturns the class name that originally implements this method, regardless where the wrapper is located/implemented.
◆ invokeQtMethod()Invoke the given slot on obj, save/restore thread state if needed.
◆ isClassDecorator() bool PythonQtSlotInfo::isClassDecorator ( ) const inline ◆ isInstanceDecorator() bool PythonQtSlotInfo::isInstanceDecorator ( ) const inline ◆ metaMethod() ◆ nextInfo() ◆ overloads()gets a list of all overload signatures. Signatures which only differ because of default values are joined using "[]" to indicate the optional arguments.
◆ setGlobalShouldAllowThreads() static void PythonQtSlotInfo::setGlobalShouldAllowThreads ( bool flag ) staticSets if calling slots should release the GIL to allow other Python threads while being inside of C++.
◆ setNextInfo() ◆ setUpcastingOffset() void PythonQtSlotInfo::setUpcastingOffset ( int upcastingOffset ) inline ◆ signature()get the Qt signature of the slot
◆ slotIndex() int PythonQtSlotInfo::slotIndex ( ) const inlineget the index of the slot (needed for qt_metacall)
Definition at line 197 of file PythonQtMethodInfo.h.
197{ return _slotIndex; }
◆ slotName() ◆ upcastingOffset() int PythonQtSlotInfo::upcastingOffset ( ) const inlineThe documentation for this class was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4