PythonQtWrapper_QXmlLocator.h
30 lines
| 618 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QXMLLOCATOR_H | ||
#define PYTHONQTWRAPPER_QXMLLOCATOR_H | ||||
#include <qxml.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QXmlLocator : public QXmlLocator | ||
{ | ||||
public: | ||||
PythonQtShell_QXmlLocator():QXmlLocator(),_wrapper(NULL) {}; | ||||
virtual int columnNumber() const; | ||||
virtual int lineNumber() const; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QXmlLocator : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
florianlink
|
r24 | QXmlLocator* new_QXmlLocator(); | ||
florianlink
|
r13 | void delete_QXmlLocator(QXmlLocator* obj) { delete obj; } | ||
}; | ||||
#endif // PYTHONQTWRAPPER_QXMLLOCATOR_H | ||||