##// END OF EJS Templates
added initial generated wrappers for Qt 4.4.3...
added initial generated wrappers for Qt 4.4.3 git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@49 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r13:d46b01f7163a
Show More
PythonQtWrapper_QPoint.cpp
79 lines | 1.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QPoint.h"
#include <QVariant>
#include <qdatastream.h>
#include <qpoint.h>
QPoint* PythonQtWrapper_QPoint::new_QPoint()
{
return new QPoint(); }
QPoint* PythonQtWrapper_QPoint::new_QPoint(int xpos, int ypos)
{
return new QPoint(xpos, ypos); }
bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const
{
return theWrappedObject->isNull();
}
int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const
{
return theWrappedObject->manhattanLength();
}
QPoint& PythonQtWrapper_QPoint::operator_multiply_assign(QPoint* theWrappedObject, qreal c)
{
return *theWrappedObject *= c;
}
QPoint& PythonQtWrapper_QPoint::operator_add_assign(QPoint* theWrappedObject, const QPoint& p)
{
return *theWrappedObject += p;
}
QPoint& PythonQtWrapper_QPoint::operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p)
{
return *theWrappedObject -= p;
}
QPoint& PythonQtWrapper_QPoint::operator_divide_assign(QPoint* theWrappedObject, qreal c)
{
return *theWrappedObject /= c;
}
void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1)
{
arg__1 << *theWrappedObject;
}
bool PythonQtWrapper_QPoint::operator_equal(QPoint* theWrappedObject, const QPoint& p2)
{
return *theWrappedObject == p2;
}
void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> *theWrappedObject;
}
void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x)
{
theWrappedObject->setX(x);
}
void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y)
{
theWrappedObject->setY(y);
}
int PythonQtWrapper_QPoint::x(QPoint* theWrappedObject) const
{
return theWrappedObject->x();
}
int PythonQtWrapper_QPoint::y(QPoint* theWrappedObject) const
{
return theWrappedObject->y();
}