##// END OF EJS Templates
- added call method that does a direct call on the ObjectType...
- added call method that does a direct call on the ObjectType - added comments and improved docs git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@72 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r36:1d1e7c03e848
Show More
PythonQtWrapper_QSvgGenerator.h
51 lines | 1.8 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSVGGENERATOR_H
#define PYTHONQTWRAPPER_QSVGGENERATOR_H
#include <qsvggenerator.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 <qiodevice.h>
#include <qpaintdevice.h>
#include <qpaintengine.h>
#include <qsize.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QSvgGenerator : public QSvgGenerator
{
public:
PythonQtShell_QSvgGenerator():QSvgGenerator(),_wrapper(NULL) {};
virtual int devType() const;
virtual int metric(QPaintDevice::PaintDeviceMetric metric) const;
virtual QPaintEngine* paintEngine() const;
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QSvgGenerator : public QSvgGenerator
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline int promoted_metric(QPaintDevice::PaintDeviceMetric metric) const { return QSvgGenerator::metric(metric); }
inline QPaintEngine* promoted_paintEngine() const { return QSvgGenerator::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_QSvgGenerator : public QObject
{ Q_OBJECT
public:
public slots:
QSvgGenerator* new_QSvgGenerator();
void delete_QSvgGenerator(QSvgGenerator* obj) { delete obj; }
QIODevice* outputDevice(QSvgGenerator* theWrappedObject) const;
void setOutputDevice(QSvgGenerator* theWrappedObject, QIODevice* outputDevice);
florianlink
upgraded wrappers to current generator version...
r28 void setSize(QSvgGenerator* theWrappedObject, const QSize& size);
void setFileName(QSvgGenerator* theWrappedObject, const QString& fileName);
int metric(QSvgGenerator* theWrappedObject, QPaintDevice::PaintDeviceMetric metric) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QPaintEngine* paintEngine(QSvgGenerator* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 int resolution(QSvgGenerator* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setResolution(QSvgGenerator* theWrappedObject, int dpi);
florianlink
upgraded wrappers to current generator version...
r28 QSize size(QSvgGenerator* theWrappedObject) const;
QString fileName(QSvgGenerator* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QSVGGENERATOR_H