#include <PythonQtClassInfo.h>
Public Member Functions | |
| PythonQtClassInfo (const QMetaObject *meta, const QByteArray &wrappedClassName=QByteArray()) | |
| ~PythonQtClassInfo () | |
| PythonQtMemberInfo | member (const char *member) |
| get the Python method definition for a given slot name (without return type and signature) | |
| PythonQtSlotInfo * | constructors () |
| const char * | className () |
| get the Qt classname | |
| const QByteArray & | wrappedCPPClassName () |
| get the classname of the wrapped C++ class | |
| bool | isCPPWrapper () |
| returns if the object is a CPP wrapper | |
| const QMetaObject * | metaObject () |
| get the meta object | |
| void | setMetaObject (const QMetaObject *meta) |
| set the meta object, this will reset the caching | |
| bool | inherits (const char *name) |
| returns if the meta object inherits the given classname | |
| QString | help () |
| get help string for the metaobject | |
| QStringList | memberList (bool metaOnly=false) |
| get list of all members | |
for fast lookup of slots when calling the object from Python
Definition at line 79 of file PythonQtClassInfo.h.
| PythonQtClassInfo::PythonQtClassInfo | ( | const QMetaObject * | meta, | |
| const QByteArray & | wrappedClassName = QByteArray() | |||
| ) |
| PythonQtClassInfo::~PythonQtClassInfo | ( | ) |
| const char* PythonQtClassInfo::className | ( | ) |
get the Qt classname
| PythonQtSlotInfo* PythonQtClassInfo::constructors | ( | ) |
| QString PythonQtClassInfo::help | ( | ) |
get help string for the metaobject
| bool PythonQtClassInfo::inherits | ( | const char * | name | ) |
returns if the meta object inherits the given classname
| bool PythonQtClassInfo::isCPPWrapper | ( | ) | [inline] |
| PythonQtMemberInfo PythonQtClassInfo::member | ( | const char * | member | ) |
get the Python method definition for a given slot name (without return type and signature)
| QStringList PythonQtClassInfo::memberList | ( | bool | metaOnly = false |
) |
get list of all members
| const QMetaObject* PythonQtClassInfo::metaObject | ( | ) | [inline] |
| void PythonQtClassInfo::setMetaObject | ( | const QMetaObject * | meta | ) |
set the meta object, this will reset the caching
| const QByteArray& PythonQtClassInfo::wrappedCPPClassName | ( | ) |
get the classname of the wrapped C++ class
1.5.8