com_trolltech_qt_xmlpatterns_init.cpp
34 lines
| 3.1 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include <PythonQt.h> | ||
florianlink
|
r73 | #include "PythonQtWrapper_QXmlNodeModelIndex.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QSourceLocation.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QXmlNamePool.h" | ||
#include "PythonQtWrapper_QXmlResultItems.h" | ||||
florianlink
|
r13 | #include "PythonQtWrapper_QAbstractXmlNodeModel.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QXmlQuery.h" | ||
florianlink
|
r28 | #include "PythonQtWrapper_QAbstractXmlReceiver.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QXmlName.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QXmlItem.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QXmlSerializer.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QAbstractUriResolver.h" | ||
florianlink
|
r28 | #include "PythonQtWrapper_QSimpleXmlNodeModel.h" | ||
florianlink
|
r73 | #include "PythonQtWrapper_QAbstractMessageHandler.h" | ||
florianlink
|
r13 | #include "PythonQtWrapper_QXmlFormatter.h" | ||
florianlink
|
r28 | |||
florianlink
|
r13 | void PythonQt_init_QtXmlPatterns() { | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QXmlNodeModelIndex", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlNodeModelIndex>); | ||
florianlink
|
r13 | PythonQt::self()->registerCPPClass("QSourceLocation", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QSourceLocation>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QXmlNamePool", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlNamePool>); | ||
PythonQt::self()->registerCPPClass("QXmlResultItems", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlResultItems>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QXmlResultItems>); | ||||
florianlink
|
r24 | PythonQt::self()->registerCPPClass("QAbstractXmlNodeModel", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QAbstractXmlNodeModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractXmlNodeModel>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QXmlQuery", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlQuery>); | ||
florianlink
|
r28 | PythonQt::self()->registerCPPClass("QAbstractXmlReceiver", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QAbstractXmlReceiver>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractXmlReceiver>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QXmlName", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlName>); | ||
florianlink
|
r13 | PythonQt::self()->registerCPPClass("QXmlItem", "", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlItem>); | ||
florianlink
|
r73 | PythonQt::self()->registerCPPClass("QXmlSerializer", "QAbstractXmlReceiver", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlSerializer>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QXmlSerializer>); | ||
florianlink
|
r24 | PythonQt::self()->registerClass(&QAbstractUriResolver::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QAbstractUriResolver>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractUriResolver>); | ||
florianlink
|
r28 | PythonQt::self()->registerCPPClass("QSimpleXmlNodeModel", "QAbstractXmlNodeModel", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QSimpleXmlNodeModel>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QSimpleXmlNodeModel>); | ||
florianlink
|
r73 | PythonQt::self()->registerClass(&QAbstractMessageHandler::staticMetaObject, "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QAbstractMessageHandler>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QAbstractMessageHandler>); | ||
florianlink
|
r24 | PythonQt::self()->registerCPPClass("QXmlFormatter", "QXmlSerializer", "QtXmlPatterns", PythonQtCreateObject<PythonQtWrapper_QXmlFormatter>, PythonQtSetInstanceWrapperOnShell<PythonQtShell_QXmlFormatter>); | ||
florianlink
|
r13 | |||
} | ||||