stores information about a specific signal/slot/method
More...
#include <PythonQtMethodInfo.h>
stores information about a specific signal/slot/method
Definition at line 58 of file PythonQtMethodInfo.h.
◆ ParameterType
◆ PythonQtMethodInfo() [1/4]
PythonQtMethodInfo::PythonQtMethodInfo |
( |
| ) |
|
|
inline |
◆ ~PythonQtMethodInfo()
PythonQtMethodInfo::~PythonQtMethodInfo |
( |
| ) |
|
|
inline |
◆ PythonQtMethodInfo() [2/4]
PythonQtMethodInfo::PythonQtMethodInfo |
( |
const QMetaMethod & |
meta, |
|
|
PythonQtClassInfo * |
classInfo |
|
) |
| |
◆ PythonQtMethodInfo() [3/4]
PythonQtMethodInfo::PythonQtMethodInfo |
( |
const QByteArray & |
typeName, |
|
|
const QList< QByteArray > & |
args |
|
) |
| |
◆ PythonQtMethodInfo() [4/4]
◆ addParameterTypeAlias()
static void PythonQtMethodInfo::addParameterTypeAlias |
( |
const QByteArray & |
alias, |
|
|
const QByteArray & |
name |
|
) |
| |
|
static |
add an alias for a typename, e.g. QObjectList and QList<QObject*>.
◆ cleanupCachedMethodInfos()
static void PythonQtMethodInfo::cleanupCachedMethodInfos |
( |
| ) |
|
|
static |
◆ fillParameterInfo()
fill the parameter info for the given type name
◆ getCachedMethodInfo()
returns the method info of the signature, uses a cache internally to speed up multiple requests for the same method, classInfo is passed to allow local enum resolution (if NULL is passed, no local enums are recognized)
◆ getCachedMethodInfoFromArgumentList()
static const PythonQtMethodInfo* PythonQtMethodInfo::getCachedMethodInfoFromArgumentList |
( |
int |
numArgs, |
|
|
const char ** |
args |
|
) |
| |
|
static |
get the cached method info using the passed in list of return value and arguments, return value needs to be passed as first arg
◆ getInnerListTypeName()
static QByteArray PythonQtMethodInfo::getInnerListTypeName |
( |
const QByteArray & |
typeName | ) |
|
|
static |
◆ getInnerTemplateMetaType()
static int PythonQtMethodInfo::getInnerTemplateMetaType |
( |
const QByteArray & |
typeName | ) |
|
|
static |
◆ getInnerTemplateTypeName()
static QByteArray PythonQtMethodInfo::getInnerTemplateTypeName |
( |
const QByteArray & |
typeName | ) |
|
|
static |
◆ getParameterInfoForMetaType()
static const ParameterInfo& PythonQtMethodInfo::getParameterInfoForMetaType |
( |
int |
type | ) |
|
|
static |
returns a parameter info for the given metatype (and creates and caches one if it is not yet present)
◆ nameToType()
static int PythonQtMethodInfo::nameToType |
( |
const char * |
name | ) |
|
|
static |
returns the id for the given type (using an internal dictionary)
◆ parameterCount()
int PythonQtMethodInfo::parameterCount |
( |
| ) |
const |
|
inline |
◆ parameters()
const QList<ParameterInfo>& PythonQtMethodInfo::parameters |
( |
| ) |
const |
|
inline |
◆ setupAllowThreads()
void PythonQtMethodInfo::setupAllowThreads |
( |
| ) |
|
|
protected |
◆ shouldAllowThreads()
bool PythonQtMethodInfo::shouldAllowThreads |
( |
| ) |
const |
|
inline |
◆ _cachedParameterInfos
QHash<int, ParameterInfo> PythonQtMethodInfo::_cachedParameterInfos |
|
staticprotected |
◆ _cachedSignatures
stores the cached signatures of methods to speedup mapping from Qt to Python types
Definition at line 142 of file PythonQtMethodInfo.h.
◆ _parameterNameAliases
QHash<QByteArray, QByteArray> PythonQtMethodInfo::_parameterNameAliases |
|
staticprotected |
◆ _parameters
◆ _parameterTypeDict
QHash<QByteArray, int> PythonQtMethodInfo::_parameterTypeDict |
|
staticprotected |
◆ _shouldAllowThreads
bool PythonQtMethodInfo::_shouldAllowThreads |
|
protected |
The documentation for this class was generated from the following file: