##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QLine.cpp
122 lines | 2.8 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QLine.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qdatastream.h>
#include <qline.h>
#include <qpoint.h>
QLine* PythonQtWrapper_QLine::new_QLine()
{
return new QLine(); }
QLine* PythonQtWrapper_QLine::new_QLine(const QPoint& pt1, const QPoint& pt2)
{
return new QLine(pt1, pt2); }
QLine* PythonQtWrapper_QLine::new_QLine(int x1, int y1, int x2, int y2)
{
return new QLine(x1, y1, x2, y2); }
int PythonQtWrapper_QLine::y1(QLine* theWrappedObject) const
{
return theWrappedObject->y1();
}
void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, const QPoint& p)
{
theWrappedObject->translate(p);
}
QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, const QPoint& p) const
{
return theWrappedObject->translated(p);
}
void PythonQtWrapper_QLine::setP2(QLine* theWrappedObject, const QPoint& p2)
{
theWrappedObject->setP2(p2);
}
bool PythonQtWrapper_QLine::isNull(QLine* theWrappedObject) const
{
return theWrappedObject->isNull();
}
void PythonQtWrapper_QLine::setPoints(QLine* theWrappedObject, const QPoint& p1, const QPoint& p2)
{
theWrappedObject->setPoints(p1, p2);
}
int PythonQtWrapper_QLine::dy(QLine* theWrappedObject) const
{
return theWrappedObject->dy();
}
QPoint PythonQtWrapper_QLine::p2(QLine* theWrappedObject) const
{
return theWrappedObject->p2();
}
int PythonQtWrapper_QLine::y2(QLine* theWrappedObject) const
{
return theWrappedObject->y2();
}
int PythonQtWrapper_QLine::dx(QLine* theWrappedObject) const
{
return theWrappedObject->dx();
}
void PythonQtWrapper_QLine::setP1(QLine* theWrappedObject, const QPoint& p1)
{
theWrappedObject->setP1(p1);
}
QLine PythonQtWrapper_QLine::translated(QLine* theWrappedObject, int dx, int dy) const
{
return theWrappedObject->translated(dx, dy);
}
void PythonQtWrapper_QLine::setLine(QLine* theWrappedObject, int x1, int y1, int x2, int y2)
{
theWrappedObject->setLine(x1, y1, x2, y2);
}
void PythonQtWrapper_QLine::writeTo(QLine* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
void PythonQtWrapper_QLine::translate(QLine* theWrappedObject, int dx, int dy)
{
theWrappedObject->translate(dx, dy);
}
int PythonQtWrapper_QLine::x1(QLine* theWrappedObject) const
{
return theWrappedObject->x1();
}
void PythonQtWrapper_QLine::readFrom(QLine* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
int PythonQtWrapper_QLine::x2(QLine* theWrappedObject) const
{
return theWrappedObject->x2();
}
QPoint PythonQtWrapper_QLine::p1(QLine* theWrappedObject) const
{
return theWrappedObject->p1();
}
bool PythonQtWrapper_QLine::operator_equal(QLine* theWrappedObject, const QLine& d) const
{
return (*theWrappedObject)== d;
}