PythonQtWrapper_QXmlLexicalHandler.h
36 lines
| 987 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H | ||
#define PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H | ||||
#include <qxml.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QXmlLexicalHandler : public QXmlLexicalHandler | ||
{ | ||||
public: | ||||
PythonQtShell_QXmlLexicalHandler():QXmlLexicalHandler(),_wrapper(NULL) {}; | ||||
virtual bool comment(const QString& ch); | ||||
virtual bool endCDATA(); | ||||
virtual bool endDTD(); | ||||
virtual bool endEntity(const QString& name); | ||||
virtual QString errorString() const; | ||||
virtual bool startCDATA(); | ||||
virtual bool startDTD(const QString& name, const QString& publicId, const QString& systemId); | ||||
virtual bool startEntity(const QString& name); | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QXmlLexicalHandler : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QXmlLexicalHandler* new_QXmlLexicalHandler(); | ||
florianlink
|
r13 | void delete_QXmlLexicalHandler(QXmlLexicalHandler* obj) { delete obj; } | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QXMLLEXICALHANDLER_H | ||||