##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QPen.cpp
170 lines | 4.0 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QPen.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QBrush>
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qdatastream.h>
#include <qpen.h>
#include <qvector.h>
QPen* PythonQtWrapper_QPen::new_QPen()
{
return new QPen(); }
QPen* PythonQtWrapper_QPen::new_QPen(Qt::PenStyle arg__1)
{
return new QPen(arg__1); }
QPen* PythonQtWrapper_QPen::new_QPen(const QBrush& brush, qreal width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j)
{
return new QPen(brush, width, s, c, j); }
QPen* PythonQtWrapper_QPen::new_QPen(const QColor& color)
{
return new QPen(color); }
QPen* PythonQtWrapper_QPen::new_QPen(const QPen& pen)
{
return new QPen(pen); }
QVector<qreal > PythonQtWrapper_QPen::dashPattern(QPen* theWrappedObject) const
{
return ( theWrappedObject->dashPattern());
}
void PythonQtWrapper_QPen::writeTo(QPen* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
QBrush PythonQtWrapper_QPen::brush(QPen* theWrappedObject) const
{
return ( theWrappedObject->brush());
}
qreal PythonQtWrapper_QPen::miterLimit(QPen* theWrappedObject) const
{
return ( theWrappedObject->miterLimit());
}
void PythonQtWrapper_QPen::setCapStyle(QPen* theWrappedObject, Qt::PenCapStyle pcs)
{
( theWrappedObject->setCapStyle(pcs));
}
void PythonQtWrapper_QPen::setJoinStyle(QPen* theWrappedObject, Qt::PenJoinStyle pcs)
{
( theWrappedObject->setJoinStyle(pcs));
}
int PythonQtWrapper_QPen::width(QPen* theWrappedObject) const
{
return ( theWrappedObject->width());
}
Qt::PenCapStyle PythonQtWrapper_QPen::capStyle(QPen* theWrappedObject) const
{
return ( theWrappedObject->capStyle());
}
void PythonQtWrapper_QPen::setWidthF(QPen* theWrappedObject, qreal width)
{
( theWrappedObject->setWidthF(width));
}
bool PythonQtWrapper_QPen::isCosmetic(QPen* theWrappedObject) const
{
return ( theWrappedObject->isCosmetic());
}
void PythonQtWrapper_QPen::readFrom(QPen* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
void PythonQtWrapper_QPen::setDashPattern(QPen* theWrappedObject, const QVector<qreal >& pattern)
{
( theWrappedObject->setDashPattern(pattern));
}
qreal PythonQtWrapper_QPen::widthF(QPen* theWrappedObject) const
{
return ( theWrappedObject->widthF());
}
void PythonQtWrapper_QPen::setDashOffset(QPen* theWrappedObject, qreal doffset)
{
( theWrappedObject->setDashOffset(doffset));
}
bool PythonQtWrapper_QPen::operator_equal(QPen* theWrappedObject, const QPen& p) const
{
return ( (*theWrappedObject)== p);
}
void PythonQtWrapper_QPen::setMiterLimit(QPen* theWrappedObject, qreal limit)
{
( theWrappedObject->setMiterLimit(limit));
}
void PythonQtWrapper_QPen::setStyle(QPen* theWrappedObject, Qt::PenStyle arg__1)
{
( theWrappedObject->setStyle(arg__1));
}
QColor PythonQtWrapper_QPen::color(QPen* theWrappedObject) const
{
return ( theWrappedObject->color());
}
void PythonQtWrapper_QPen::setCosmetic(QPen* theWrappedObject, bool cosmetic)
{
( theWrappedObject->setCosmetic(cosmetic));
}
void PythonQtWrapper_QPen::setBrush(QPen* theWrappedObject, const QBrush& brush)
{
( theWrappedObject->setBrush(brush));
}
qreal PythonQtWrapper_QPen::dashOffset(QPen* theWrappedObject) const
{
return ( theWrappedObject->dashOffset());
}
Qt::PenStyle PythonQtWrapper_QPen::style(QPen* theWrappedObject) const
{
return ( theWrappedObject->style());
}
Qt::PenJoinStyle PythonQtWrapper_QPen::joinStyle(QPen* theWrappedObject) const
{
return ( theWrappedObject->joinStyle());
}
void PythonQtWrapper_QPen::setColor(QPen* theWrappedObject, const QColor& color)
{
( theWrappedObject->setColor(color));
}
bool PythonQtWrapper_QPen::isSolid(QPen* theWrappedObject) const
{
return ( theWrappedObject->isSolid());
}
void PythonQtWrapper_QPen::setWidth(QPen* theWrappedObject, int width)
{
( theWrappedObject->setWidth(width));
}
QString PythonQtWrapper_QPen::toString(QPen* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}