PythonQt
Classes | Macros | Enumerations | Functions | Variables
PythonQtSlot.h File Reference
#include "PythonQtPythonInclude.h"
#include "PythonQtSystem.h"
#include "structmember.h"

Go to the source code of this file.

Classes

struct  PythonQtSlotFunctionObject
 defines a python object that stores a Qt slot info More...
 

Macros

#define PythonQtSlotFunction_Check(op)   (Py_TYPE(op) == &PythonQtSlotFunction_Type)
 
#define PythonQtSlotFunction_GET_SELF(func)    (((PythonQtSlotFunctionObject *)func) -> m_self)
 

Enumerations

enum  PythonQtPassThisOwnershipType { IgnoreOwnership , PassOwnershipToCPP , PassOwnershipToPython }
 

Functions

PythonQtSlotInfoPythonQtSlotFunction_GetSlotInfo (PyObject *)
 
PyObjectPythonQtSlotFunction_GetSelf (PyObject *)
 
PyObjectPythonQtSlotFunction_Call (PyObject *, PyObject *, PyObject *)
 
PyObjectPythonQtSlotFunction_CallImpl (PythonQtClassInfo *classInfo, QObject *objectToCall, PythonQtSlotInfo *info, PyObject *args, PyObject *kw, void *firstArg=nullptr, void **directReturnValuePointer=nullptr, PythonQtPassThisOwnershipType *passThisOwnershipToCPP=nullptr)
 
PyObjectPythonQtSlotFunction_New (PythonQtSlotInfo *, PyObject *, PyObject *)
 
PyObjectPythonQtMemberFunction_Call (PythonQtSlotInfo *info, PyObject *m_self, PyObject *args, PyObject *kw)
 
PyObjectPythonQtMemberFunction_parameterTypes (PythonQtSlotInfo *theInfo)
 
PyObjectPythonQtMemberFunction_parameterNames (PythonQtSlotInfo *theInfo)
 
PyObjectPythonQtMemberFunction_typeName (PythonQtSlotInfo *theInfo)
 

Variables

PYTHONQT_EXPORT PyTypeObject PythonQtSlotFunction_Type
 

Detailed Description

Author
Florian Link
Last changed by
Author
florian
Date
2006-05

Definition in file PythonQtSlot.h.

Macro Definition Documentation

◆ PythonQtSlotFunction_Check

#define PythonQtSlotFunction_Check (   op)    (Py_TYPE(op) == &PythonQtSlotFunction_Type)

Definition at line 61 of file PythonQtSlot.h.

◆ PythonQtSlotFunction_GET_SELF

#define PythonQtSlotFunction_GET_SELF (   func)     (((PythonQtSlotFunctionObject *)func) -> m_self)

Definition at line 68 of file PythonQtSlot.h.

Enumeration Type Documentation

◆ PythonQtPassThisOwnershipType

Enumerator
IgnoreOwnership 
PassOwnershipToCPP 
PassOwnershipToPython 

Definition at line 52 of file PythonQtSlot.h.

53 {
57 };
@ PassOwnershipToPython
Definition: PythonQtSlot.h:56
@ IgnoreOwnership
Definition: PythonQtSlot.h:54
@ PassOwnershipToCPP
Definition: PythonQtSlot.h:55

Function Documentation

◆ PythonQtMemberFunction_Call()

PyObject* PythonQtMemberFunction_Call ( PythonQtSlotInfo info,
PyObject m_self,
PyObject args,
PyObject kw 
)

◆ PythonQtMemberFunction_parameterNames()

PyObject* PythonQtMemberFunction_parameterNames ( PythonQtSlotInfo theInfo)

◆ PythonQtMemberFunction_parameterTypes()

PyObject* PythonQtMemberFunction_parameterTypes ( PythonQtSlotInfo theInfo)

◆ PythonQtMemberFunction_typeName()

PyObject* PythonQtMemberFunction_typeName ( PythonQtSlotInfo theInfo)

◆ PythonQtSlotFunction_Call()

PyObject* PythonQtSlotFunction_Call ( PyObject ,
PyObject ,
PyObject  
)

◆ PythonQtSlotFunction_CallImpl()

PyObject* PythonQtSlotFunction_CallImpl ( PythonQtClassInfo classInfo,
QObject *  objectToCall,
PythonQtSlotInfo info,
PyObject args,
PyObject kw,
void *  firstArg = nullptr,
void **  directReturnValuePointer = nullptr,
PythonQtPassThisOwnershipType passThisOwnershipToCPP = nullptr 
)

◆ PythonQtSlotFunction_GetSelf()

PyObject* PythonQtSlotFunction_GetSelf ( PyObject )

◆ PythonQtSlotFunction_GetSlotInfo()

PythonQtSlotInfo* PythonQtSlotFunction_GetSlotInfo ( PyObject )

◆ PythonQtSlotFunction_New()

PyObject* PythonQtSlotFunction_New ( PythonQtSlotInfo ,
PyObject ,
PyObject  
)

Variable Documentation

◆ PythonQtSlotFunction_Type

PYTHONQT_EXPORT PyTypeObject PythonQtSlotFunction_Type
extern