##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QSourceLocation.h
29 lines | 1.1 KiB | text/x-c | CLexer
#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