PythonQtWrapper_QSourceLocation.h
29 lines
| 1.1 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QSOURCELOCATION_H | ||
#define PYTHONQTWRAPPER_QSOURCELOCATION_H | ||||
#include <qsourcelocation.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qsourcelocation.h> | ||||
#include <qurl.h> | ||||
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; } | ||||
qint64 column(QSourceLocation* theWrappedObject) const; | ||||
bool isNull(QSourceLocation* theWrappedObject) const; | ||||
qint64 line(QSourceLocation* theWrappedObject) const; | ||||
bool operator_equal(QSourceLocation* theWrappedObject, const QSourceLocation& other) const; | ||||
void setColumn(QSourceLocation* theWrappedObject, qint64 newColumn); | ||||
void setLine(QSourceLocation* theWrappedObject, qint64 newLine); | ||||
void setUri(QSourceLocation* theWrappedObject, const QUrl& newUri); | ||||
QUrl uri(QSourceLocation* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QSOURCELOCATION_H | ||||