##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QPointF.cpp
86 lines | 2.0 KiB | text/x-c | CppLexer
#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_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);
}
bool PythonQtWrapper_QPointF::isNull(QPointF* theWrappedObject) const
{
return theWrappedObject->isNull();
}
void PythonQtWrapper_QPointF::readFrom(QPointF* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
QPoint PythonQtWrapper_QPointF::toPoint(QPointF* theWrappedObject) const
{
return theWrappedObject->toPoint();
}
QPointF& PythonQtWrapper_QPointF::operator_add_assign(QPointF* theWrappedObject, const QPointF& p)
{
return (*theWrappedObject)+= p;
}
void PythonQtWrapper_QPointF::writeTo(QPointF* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
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;
}
QPointF& PythonQtWrapper_QPointF::operator_subtract_assign(QPointF* theWrappedObject, const QPointF& p)
{
return (*theWrappedObject)-= p;
}