##// 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_QPoint.cpp
82 lines | 1.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QPoint.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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); }
QPoint& PythonQtWrapper_QPoint::operator_subtract_assign(QPoint* theWrappedObject, const QPoint& p)
{
return (*theWrappedObject)-= p;
}
void PythonQtWrapper_QPoint::setX(QPoint* theWrappedObject, int x)
{
theWrappedObject->setX(x);
}
QPoint& PythonQtWrapper_QPoint::operator_add_assign(QPoint* theWrappedObject, const QPoint& p)
{
return (*theWrappedObject)+= p;
}
int PythonQtWrapper_QPoint::x(QPoint* theWrappedObject) const
{
return theWrappedObject->x();
}
QPoint& PythonQtWrapper_QPoint::operator_multiply_assign(QPoint* theWrappedObject, qreal c)
{
return (*theWrappedObject)*= c;
}
void PythonQtWrapper_QPoint::setY(QPoint* theWrappedObject, int y)
{
theWrappedObject->setY(y);
}
bool PythonQtWrapper_QPoint::isNull(QPoint* theWrappedObject) const
{
return theWrappedObject->isNull();
}
void PythonQtWrapper_QPoint::writeTo(QPoint* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
int PythonQtWrapper_QPoint::y(QPoint* theWrappedObject) const
{
return theWrappedObject->y();
}
bool PythonQtWrapper_QPoint::operator_equal(QPoint* theWrappedObject, const QPoint& p2)
{
return (*theWrappedObject)== p2;
}
QPoint& PythonQtWrapper_QPoint::operator_divide_assign(QPoint* theWrappedObject, qreal c)
{
return (*theWrappedObject)/= c;
}
void PythonQtWrapper_QPoint::readFrom(QPoint* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const
{
return theWrappedObject->manhattanLength();
}