#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; } void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); bool operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; QUrl uri(QSourceLocation* theWrappedObject) const; void setLine(QSourceLocation* theWrappedObject, qint64 newLine); bool isNull(QSourceLocation* theWrappedObject) const; qint64 line(QSourceLocation* theWrappedObject) const; void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); qint64 column(QSourceLocation* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QSOURCELOCATION_H