#ifndef PYTHONQTWRAPPER_QSOURCELOCATION_H #define PYTHONQTWRAPPER_QSOURCELOCATION_H #include #include #include #include #include #include class PythonQtWrapper_QSourceLocation : public QObject { Q_OBJECT public: public slots: QSourceLocation* new_QSourceLocation(); QSourceLocation* new_QSourceLocation(const QSourceLocation& other); QSourceLocation* new_QSourceLocation(const QUrl& uri, int line = -1, int column = -1); void delete_QSourceLocation(QSourceLocation* obj) { delete obj; } bool operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; qint64 line(QSourceLocation* theWrappedObject) const; QUrl uri(QSourceLocation* theWrappedObject) const; void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); qint64 column(QSourceLocation* theWrappedObject) const; bool isNull(QSourceLocation* theWrappedObject) const; void setLine(QSourceLocation* theWrappedObject, qint64 newLine); void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); QString toString(QSourceLocation*); }; #endif // PYTHONQTWRAPPER_QSOURCELOCATION_H