PythonQtWrapper_QPoint.h
39 lines
| 1.3 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPOINT_H | ||
#define PYTHONQTWRAPPER_QPOINT_H | ||||
#include <qpoint.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qdatastream.h> | ||||
#include <qpoint.h> | ||||
class PythonQtWrapper_QPoint : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QPoint* new_QPoint(); | ||||
QPoint* new_QPoint(int xpos, int ypos); | ||||
florianlink
|
r24 | QPoint* new_QPoint(const QPoint& other) { | ||
QPoint* a = new QPoint(); | ||||
*((QPoint*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QPoint(QPoint* obj) { delete obj; } | ||
QPoint& operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p); | ||||
florianlink
|
r28 | void setX(QPoint* theWrappedObject, int x); | ||
florianlink
|
r24 | QPoint& operator_add_assign(QPoint* theWrappedObject, const QPoint& p); | ||
int x(QPoint* theWrappedObject) const; | ||||
QPoint& operator_multiply_assign(QPoint* theWrappedObject, qreal c); | ||||
florianlink
|
r28 | void setY(QPoint* theWrappedObject, int y); | ||
bool isNull(QPoint* theWrappedObject) const; | ||||
florianlink
|
r13 | void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); | ||
int y(QPoint* theWrappedObject) const; | ||||
florianlink
|
r28 | bool operator_equal(QPoint* theWrappedObject, const QPoint& p2); | ||
QPoint& operator_divide_assign(QPoint* theWrappedObject, qreal c); | ||||
void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); | ||||
int manhattanLength(QPoint* theWrappedObject) const; | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPOINT_H | ||||