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