A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mevislab.github.io/pythonqt/classPythonQtSlotInfo.html below:

PythonQt: PythonQtSlotInfo Class Reference

stores information about a slot, including a next pointer to overloaded slots More...

#include <PythonQtMethodInfo.h>

static void  invokeQtMethod (QObject *obj, PythonQtSlotInfo *slot, void **argList)   Invoke the given slot on obj, save/restore thread state if needed.
  static void  setGlobalShouldAllowThreads (bool flag)   Sets if calling slots should release the GIL to allow other Python threads while being inside of C++.
  static bool  getGlobalShouldAllowThreads ()   Returns if calling slots should release the GIL to allow Python threads while being inside of C++.
  static const PythonQtMethodInfogetCachedMethodInfo (const QMetaMethod &method, PythonQtClassInfo *classInfo)   static const PythonQtMethodInfogetCachedMethodInfoFromArgumentList (int numArgs, const char **args)   get the cached method info using the passed in list of return value and arguments, return value needs to be passed as first arg
  static void  cleanupCachedMethodInfos ()   cleanup the cache
  static int  nameToType (const char *name)   returns the id for the given type (using an internal dictionary)
  static void  addParameterTypeAlias (const QByteArray &alias, const QByteArray &name)   add an alias for a typename, e.g. QObjectList and QList<QObject*>.
  static void  fillParameterInfo (ParameterInfo &type, const QByteArray &name, PythonQtClassInfo *classInfo=nullptr)   fill the parameter info for the given type name
  static const ParameterInfogetParameterInfoForMetaType (int type)   returns a parameter info for the given metatype (and creates and caches one if it is not yet present)
  static int  getInnerTemplateMetaType (const QByteArray &typeName)   returns the inner type id of a simple template of the form SomeObject<InnerType>
  static QByteArray  getInnerTemplateTypeName (const QByteArray &typeName)   returns the inner type name of a simple template of the form SomeObject<InnerType>
  static QByteArray  getInnerListTypeName (const QByteArray &typeName)   returns the inner type name of a simple template or the typename without appended "List".
 

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 ( ) static

Returns if calling slots should release the GIL to allow Python threads while being inside of C++.

◆ getImplementingClassName() QByteArray PythonQtSlotInfo::getImplementingClassName ( ) const

Returns 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 ) static

Sets 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 inline

get 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 inline

The 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