|
|
#include "PythonQtWrapper_QPointF.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QVariant>
|
|
|
#include <qdatastream.h>
|
|
|
#include <qpoint.h>
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::new_QPointF()
|
|
|
{
|
|
|
return new QPointF(); }
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::new_QPointF(const QPoint& p)
|
|
|
{
|
|
|
return new QPointF(p); }
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::new_QPointF(qreal xpos, qreal ypos)
|
|
|
{
|
|
|
return new QPointF(xpos, ypos); }
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::operator_subtract_assign(QPointF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
return &( (*theWrappedObject)-= p);
|
|
|
}
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::operator_divide_assign(QPointF* theWrappedObject, qreal c)
|
|
|
{
|
|
|
return &( (*theWrappedObject)/= c);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QPointF::x(QPointF* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->x());
|
|
|
}
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::operator_multiply_assign(QPointF* theWrappedObject, qreal c)
|
|
|
{
|
|
|
return &( (*theWrappedObject)*= c);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QPointF::setX(QPointF* theWrappedObject, qreal x)
|
|
|
{
|
|
|
( theWrappedObject->setX(x));
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 << (*theWrappedObject);
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isNull());
|
|
|
}
|
|
|
|
|
|
QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->toPoint());
|
|
|
}
|
|
|
|
|
|
QPointF* PythonQtWrapper_QPointF::operator_add_assign(QPointF* theWrappedObject, const QPointF& p)
|
|
|
{
|
|
|
return &( (*theWrappedObject)+= p);
|
|
|
}
|
|
|
|
|
|
qreal PythonQtWrapper_QPointF::y(QPointF* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->y());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QPointF::setY(QPointF* theWrappedObject, qreal y)
|
|
|
{
|
|
|
( theWrappedObject->setY(y));
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QPointF::operator_equal(QPointF* theWrappedObject, const QPointF& p2)
|
|
|
{
|
|
|
return ( (*theWrappedObject)== p2);
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1)
|
|
|
{
|
|
|
arg__1 >> (*theWrappedObject);
|
|
|
}
|
|
|
|
|
|
QString PythonQtWrapper_QPointF::toString(QPointF* obj) {
|
|
|
QString result;
|
|
|
QDebug d(&result);
|
|
|
d << *obj;
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
|