PythonQtWrapper_QPointF.h
41 lines
| 1.4 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPOINTF_H | ||
#define PYTHONQTWRAPPER_QPOINTF_H | ||||
#include <qpoint.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qdatastream.h> | ||||
#include <qpoint.h> | ||||
class PythonQtWrapper_QPointF : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QPointF* new_QPointF(); | ||||
QPointF* new_QPointF(const QPoint& p); | ||||
QPointF* new_QPointF(qreal xpos, qreal ypos); | ||||
florianlink
|
r24 | QPointF* new_QPointF(const QPointF& other) { | ||
QPointF* a = new QPointF(); | ||||
*((QPointF*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QPointF(QPointF* obj) { delete obj; } | ||
florianlink
|
r73 | QPointF* operator_subtract_assign(QPointF* theWrappedObject, const QPointF& p); | ||
QPointF* operator_divide_assign(QPointF* theWrappedObject, qreal c); | ||||
florianlink
|
r24 | qreal x(QPointF* theWrappedObject) const; | ||
florianlink
|
r73 | QPointF* operator_multiply_assign(QPointF* theWrappedObject, qreal c); | ||
florianlink
|
r13 | void setX(QPointF* theWrappedObject, qreal x); | ||
florianlink
|
r73 | void writeTo(QPointF* theWrappedObject, QDataStream& arg__1); | ||
florianlink
|
r24 | bool isNull(QPointF* theWrappedObject) const; | ||
florianlink
|
r13 | QPoint toPoint(QPointF* theWrappedObject) const; | ||
florianlink
|
r73 | QPointF* operator_add_assign(QPointF* theWrappedObject, const QPointF& p); | ||
florianlink
|
r13 | qreal y(QPointF* theWrappedObject) const; | ||
florianlink
|
r28 | void setY(QPointF* theWrappedObject, qreal y); | ||
bool operator_equal(QPointF* theWrappedObject, const QPointF& p2); | ||||
florianlink
|
r73 | void readFrom(QPointF* theWrappedObject, QDataStream& arg__1); | ||
QString toString(QPointF*); | ||||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPOINTF_H | ||||