##// END OF EJS Templates
added initial version of foreign wrappers, needs testing...
added initial version of foreign wrappers, needs testing git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@206 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r128:2bd3690c0f37
r167:2184742f9ca8
Show More
com_trolltech_qt_svg_init.cpp
11 lines | 818 B | text/x-c | CppLexer
#include <PythonQt.h>
#include "com_trolltech_qt_svg0.h"
void PythonQt_init_QtSvg(PyObject* module) {
PythonQt::priv()->registerCPPClass("QSvgGenerator", "", "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgGenerator>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgGenerator>, module, 0);
PythonQt::self()->addParentClass("QSvgGenerator", "QPaintDevice",PythonQtUpcastingOffset<QSvgGenerator,QPaintDevice>());
PythonQt::priv()->registerClass(&QSvgRenderer::staticMetaObject, "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgRenderer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgRenderer>, module, 0);
PythonQt::priv()->registerClass(&QSvgWidget::staticMetaObject, "QtSvg", PythonQtCreateObject<PythonQtWrapper_QSvgWidget>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSvgWidget>, module, 0);
}