##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r24:f543ed746063
r34:5daedfb035c8
Show More
PythonQtWrapper_QAccessibleBridge.cpp
48 lines | 1.8 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QAccessibleBridge.cpp
#include "PythonQtWrapper_QAccessibleBridge.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qaccessible.h>
void PythonQtShell_QAccessibleBridge::notifyAccessibilityUpdate(int arg__1, QAccessibleInterface* arg__2, int arg__3)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "notifyAccessibilityUpdate");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature(
&PythonQtWrapper_QAccessibleBridge::staticMetaObject,
"notifyAccessibilityUpdate(QAccessibleBridge*,int ,QAccessibleInterface* ,int )");
void* args[4] = {NULL, (void*)&arg__1, (void*)&arg__2, (void*)&arg__3};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
}
void PythonQtShell_QAccessibleBridge::setRootObject(QAccessibleInterface* arg__1)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "setRootObject");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature(
&PythonQtWrapper_QAccessibleBridge::staticMetaObject,
"setRootObject(QAccessibleBridge*,QAccessibleInterface* )");
void* args[2] = {NULL, (void*)&arg__1};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
}
QAccessibleBridge* PythonQtWrapper_QAccessibleBridge::new_QAccessibleBridge()
{
return new PythonQtShell_QAccessibleBridge(); }