##// END OF EJS Templates
allow to pass invalid QVariants as QVariant parameter of slots...
allow to pass invalid QVariants as QVariant parameter of slots git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@126 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r90:6da6bce07af7
Show More
PythonQtWrapper_QPicture.h
63 lines | 2.4 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QPICTURE_H
#define PYTHONQTWRAPPER_QPICTURE_H
#include <qpicture.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qdatastream.h>
#include <qiodevice.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qpainter.h>
#include <qpicture.h>
#include <qrect.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QPicture : public QPicture
{
public:
PythonQtShell_QPicture(const QPicture& arg__1):QPicture(arg__1),_wrapper(NULL) {};
PythonQtShell_QPicture(int formatVersion = -1):QPicture(formatVersion),_wrapper(NULL) {};
virtual int devType() const;
virtual int metric(QPaintDevice::PaintDeviceMetric m) const;
virtual QPaintEngine* paintEngine() const;
virtual void setData(const char* data, uint size);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QPicture : public QPicture
{ public:
florianlink
recreated wrappers to match current python qt version...
r73 inline int promoted_metric(QPaintDevice::PaintDeviceMetric m) const { return QPicture::metric(m); }
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_devType() const { return QPicture::devType(); }
inline QPaintEngine* promoted_paintEngine() const { return QPicture::paintEngine(); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QPicture : public QObject
{ Q_OBJECT
public:
public slots:
QPicture* new_QPicture(const QPicture& arg__1);
QPicture* new_QPicture(int formatVersion = -1);
void delete_QPicture(QPicture* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool load(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0);
bool save(QPicture* theWrappedObject, const QString& fileName, const char* format = 0);
int metric(QPicture* theWrappedObject, QPaintDevice::PaintDeviceMetric m) const;
const char* data(QPicture* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 int devType(QPicture* theWrappedObject) const;
uint size(QPicture* theWrappedObject) const;
QRect boundingRect(QPicture* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool load(QPicture* theWrappedObject, const QString& fileName, const char* format = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void writeTo(QPicture* theWrappedObject, QDataStream& arg__1);
QPaintEngine* paintEngine(QPicture* theWrappedObject) const;
bool save(QPicture* theWrappedObject, QIODevice* dev, const char* format = 0);
florianlink
upgraded wrappers to current generator version...
r28 bool isNull(QPicture* theWrappedObject) const;
florianlink
recreated wrappers to match current python qt version...
r73 void setBoundingRect(QPicture* theWrappedObject, const QRect& r);
bool play(QPicture* theWrappedObject, QPainter* p);
void readFrom(QPicture* theWrappedObject, QDataStream& arg__1);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QPICTURE_H