##// 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_QIcon.cpp
98 lines | 2.9 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QIcon.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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); }
void PythonQtWrapper_QIcon::writeTo(QIcon* theWrappedObject, QDataStream& arg__1)
{
arg__1 << (*theWrappedObject);
}
void PythonQtWrapper_QIcon::addFile(QIcon* theWrappedObject, const QString& fileName, const QSize& size, QIcon::Mode mode, QIcon::State state)
{
theWrappedObject->addFile(fileName, size, mode, state);
}
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::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);
}
QPixmap PythonQtWrapper_QIcon::pixmap(QIcon* theWrappedObject, const QSize& size, QIcon::Mode mode, QIcon::State state) const
{
return theWrappedObject->pixmap(size, mode, state);
}
void PythonQtWrapper_QIcon::addPixmap(QIcon* theWrappedObject, const QPixmap& pixmap, QIcon::Mode mode, QIcon::State state)
{
theWrappedObject->addPixmap(pixmap, 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);
}
qint64 PythonQtWrapper_QIcon::cacheKey(QIcon* theWrappedObject) const
{
return theWrappedObject->cacheKey();
}
bool PythonQtWrapper_QIcon::isNull(QIcon* theWrappedObject) const
{
return theWrappedObject->isNull();
}
void PythonQtWrapper_QIcon::readFrom(QIcon* theWrappedObject, QDataStream& arg__1)
{
arg__1 >> (*theWrappedObject);
}
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);
}