##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QIcon.cpp
95 lines | 2.8 KiB | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QIcon.h"
#include <QVariant>
#include <qdatastream.h>
#include <qicon.h>
#include <qiconengine.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qrect.h>
#include <qsize.h>
QIcon* PythonQtWrapper_QIcon::new_QIcon()
{
return new QIcon(); }
QIcon* PythonQtWrapper_QIcon::new_QIcon(QIconEngine* engine)
{
return new QIcon(engine); }
QIcon* PythonQtWrapper_QIcon::new_QIcon(QIconEngineV2* engine)
{
return new QIcon(engine); }
QIcon* PythonQtWrapper_QIcon::new_QIcon(const QIcon& other)
{
return new QIcon(other); }
QIcon* PythonQtWrapper_QIcon::new_QIcon(const QPixmap& pixmap)
{
return new QIcon(pixmap); }
QIcon* PythonQtWrapper_QIcon::new_QIcon(const QString& fileName)
{
return new QIcon(fileName); }
QSize PythonQtWrapper_QIcon::actualSize(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const
{
return theWrappedObject->actualSize(size, mode, state);
}
void PythonQtWrapper_QIcon::addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state)
{
theWrappedObject->addFile(fileName, size, mode, state);
}
void PythonQtWrapper_QIcon::addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state)
{
theWrappedObject->addPixmap(pixmap, mode, state);
}
qint64 PythonQtWrapper_QIcon::cacheKey(QIcon* theWrappedObject) const
{
return theWrappedObject->cacheKey();
}
bool PythonQtWrapper_QIcon::isNull(QIcon* theWrappedObject) const
{
return theWrappedObject->isNull();
}
void PythonQtWrapper_QIcon::writeTo(QIcon* theWrappedObject, QDataStream& arg__1)
{
arg__1 << *theWrappedObject;
}
void PythonQtWrapper_QIcon::readFrom(QIcon* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> *theWrappedObject;
}
void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, const QRect& rect, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const
{
theWrappedObject->paint(painter, rect, alignment, mode, state);
}
void PythonQtWrapper_QIcon::paint(QIcon* theWrappedObject, QPainter* painter, int x, int y, int w, int h, Qt::Alignment alignment, QIcon::Mode mode, QIcon::State state) const
{
theWrappedObject->paint(painter, x, y, w, h, alignment, mode, state);
}
QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const
{
return theWrappedObject->pixmap(size, mode, state);
}
QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int extent, QIcon::Mode mode, QIcon::State state) const
{
return theWrappedObject->pixmap(extent, mode, state);
}
QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, int w, int h, QIcon::Mode mode, QIcon::State state) const
{
return theWrappedObject->pixmap(w, h, mode, state);
}