##// END OF EJS Templates
fixed builtin package name...
fixed builtin package name git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@130 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r94:f55700c8b936
Show More
PythonQtWrapper_QXmlFormatter.cpp
303 lines | 11.2 KiB | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QXmlFormatter.h"
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qabstractxmlnodemodel.h>
#include <qabstractxmlreceiver.h>
#include <qiodevice.h>
#include <qtextcodec.h>
#include <qxmlname.h>
#include <qxmlquery.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void PythonQtShell_QXmlFormatter::atomicValue(const QVariant& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "atomicValue");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QVariant&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::atomicValue(value);
}
void PythonQtShell_QXmlFormatter::attribute(const QXmlName& name, const QStringRef& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "attribute");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QXmlName&" , "const QStringRef&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[3] = {NULL, (void*)&name, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::attribute(name, value);
}
void PythonQtShell_QXmlFormatter::characters(const QStringRef& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "characters");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QStringRef&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::characters(value);
}
void PythonQtShell_QXmlFormatter::comment(const QString& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "comment");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QString&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::comment(value);
}
void PythonQtShell_QXmlFormatter::endDocument()
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endDocument");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={""};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[1] = {NULL};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::endDocument();
}
void PythonQtShell_QXmlFormatter::endElement()
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endElement");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={""};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[1] = {NULL};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::endElement();
}
void PythonQtShell_QXmlFormatter::endOfSequence()
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "endOfSequence");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={""};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[1] = {NULL};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::endOfSequence();
}
void PythonQtShell_QXmlFormatter::namespaceBinding(const QXmlName& nb)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "namespaceBinding");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QXmlName&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&nb};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::namespaceBinding(nb);
}
void PythonQtShell_QXmlFormatter::processingInstruction(const QXmlName& name, const QString& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "processingInstruction");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QXmlName&" , "const QString&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(3, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[3] = {NULL, (void*)&name, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::processingInstruction(name, value);
}
void PythonQtShell_QXmlFormatter::startDocument()
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startDocument");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={""};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[1] = {NULL};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::startDocument();
}
void PythonQtShell_QXmlFormatter::startElement(const QXmlName& name)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startElement");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QXmlName&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&name};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::startElement(name);
}
void PythonQtShell_QXmlFormatter::startOfSequence()
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "startOfSequence");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={""};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(1, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[1] = {NULL};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::startOfSequence();
}
void PythonQtShell_QXmlFormatter::whitespaceOnly(const QStringRef& value)
{
if (_wrapper) {
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "whitespaceOnly");
PyErr_Clear();
if (obj && !PythonQtSlotFunction_Check(obj)) {
florianlink
recreated wrappers to match current python qt version...
r73 static const char* argumentList[] ={"" , "const QStringRef&"};
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromArgumentList(2, argumentList);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void* args[2] = {NULL, (void*)&value};
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true);
if (result) { Py_DECREF(result); }
Py_DECREF(obj);
return;
}
}
QXmlFormatter::whitespaceOnly(value);
}
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QXmlFormatter* PythonQtWrapper_QXmlFormatter::new_QXmlFormatter(const QXmlQuery& query, QIODevice* outputDevice)
{
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 return new PythonQtShell_QXmlFormatter(query, outputDevice); }
florianlink
added initial generated wrappers for Qt 4.4.3...
r13
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::setIndentationDepth(QXmlFormatter* theWrappedObject, int depth)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( theWrappedObject->setIndentationDepth(depth));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 int PythonQtWrapper_QXmlFormatter::indentationDepth(QXmlFormatter* theWrappedObject) const
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 return ( theWrappedObject->indentationDepth());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::startOfSequence(QXmlFormatter* theWrappedObject)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startOfSequence());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::characters(QXmlFormatter* theWrappedObject, const QStringRef& value)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_characters(value));
florianlink
upgraded wrappers to current generator version...
r28 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::atomicValue(QXmlFormatter* theWrappedObject, const QVariant& value)
florianlink
upgraded wrappers to current generator version...
r28 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_atomicValue(value));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::endElement(QXmlFormatter* theWrappedObject)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endElement());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::attribute(QXmlFormatter* theWrappedObject, const QXmlName& name, const QStringRef& value)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_attribute(name, value));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void PythonQtWrapper_QXmlFormatter::startDocument(QXmlFormatter* theWrappedObject)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startDocument());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::endDocument(QXmlFormatter* theWrappedObject)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endDocument());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::processingInstruction(QXmlFormatter* theWrappedObject, const QXmlName& name, const QString& value)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_processingInstruction(name, value));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::startElement(QXmlFormatter* theWrappedObject, const QXmlName& name)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_startElement(name));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
upgraded wrappers to current generator version...
r28 void PythonQtWrapper_QXmlFormatter::comment(QXmlFormatter* theWrappedObject, const QString& value)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_comment(value));
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }
florianlink
recreated wrappers to match current python qt version...
r73 void PythonQtWrapper_QXmlFormatter::endOfSequence(QXmlFormatter* theWrappedObject)
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 {
florianlink
recreated wrappers to match current python qt version...
r73 ( ((PythonQtPublicPromoter_QXmlFormatter*)theWrappedObject)->promoted_endOfSequence());
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 }