PythonQtWrapper_QPoint.h
40 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; } | ||
florianlink
|
r73 | bool operator_equal(QPoint* theWrappedObject, const QPoint& p2); | ||
florianlink
|
r28 | void setY(QPoint* theWrappedObject, int y); | ||
florianlink
|
r73 | QPoint* operator_add_assign(QPoint* theWrappedObject, const QPoint& p); | ||
QPoint* operator_multiply_assign(QPoint* theWrappedObject, qreal c); | ||||
florianlink
|
r28 | bool isNull(QPoint* theWrappedObject) const; | ||
florianlink
|
r13 | void writeTo(QPoint* theWrappedObject, QDataStream& arg__1); | ||
int y(QPoint* theWrappedObject) const; | ||||
florianlink
|
r28 | int manhattanLength(QPoint* theWrappedObject) const; | ||
florianlink
|
r73 | QPoint* operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p); | ||
void setX(QPoint* theWrappedObject, int x); | ||||
QPoint* operator_divide_assign(QPoint* theWrappedObject, qreal c); | ||||
int x(QPoint* theWrappedObject) const; | ||||
void readFrom(QPoint* theWrappedObject, QDataStream& arg__1); | ||||
QString toString(QPoint*); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPOINT_H | ||||