PythonQtWrapper_QPictureIO.cpp
143 lines
| 3.7 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QPictureIO.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qiodevice.h> | ||||
#include <qlist.h> | ||||
#include <qpicture.h> | ||||
QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO() | ||||
{ | ||||
return new QPictureIO(); } | ||||
QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(QIODevice* ioDevice, const char* format) | ||||
{ | ||||
return new QPictureIO(ioDevice, format); } | ||||
QPictureIO* PythonQtWrapper_QPictureIO::new_QPictureIO(const QString& fileName, const char* format) | ||||
{ | ||||
return new QPictureIO(fileName, format); } | ||||
florianlink
|
r28 | const char* PythonQtWrapper_QPictureIO::format(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->format(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(QIODevice* arg__1) | ||
{ | ||||
return QPictureIO::pictureFormat(arg__1); | ||||
} | ||||
void PythonQtWrapper_QPictureIO::setDescription(QPictureIO* theWrappedObject, const QString& arg__1) | ||||
{ | ||||
theWrappedObject->setDescription(arg__1); | ||||
} | ||||
int PythonQtWrapper_QPictureIO::status(QPictureIO* theWrappedObject) const | ||||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->status(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QString PythonQtWrapper_QPictureIO::description(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->description(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QList<QByteArray > PythonQtWrapper_QPictureIO::static_QPictureIO_outputFormats() | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return QPictureIO::outputFormats(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setGamma(QPictureIO* theWrappedObject, float arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setGamma(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QList<QByteArray > PythonQtWrapper_QPictureIO::static_QPictureIO_inputFormats() | ||
florianlink
|
r13 | { | ||
florianlink
|
r24 | return QPictureIO::inputFormats(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | const char* PythonQtWrapper_QPictureIO::parameters(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->parameters(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QPictureIO::quality(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->quality(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | void PythonQtWrapper_QPictureIO::setParameters(QPictureIO* theWrappedObject, const char* arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setParameters(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QString PythonQtWrapper_QPictureIO::fileName(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->fileName(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setFormat(QPictureIO* theWrappedObject, const char* arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setFormat(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | const QPicture& PythonQtWrapper_QPictureIO::picture(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->picture(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QByteArray PythonQtWrapper_QPictureIO::static_QPictureIO_pictureFormat(const QString& fileName) | ||
florianlink
|
r13 | { | ||
florianlink
|
r24 | return QPictureIO::pictureFormat(fileName); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QPictureIO::read(QPictureIO* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->read(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | float PythonQtWrapper_QPictureIO::gamma(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->gamma(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setFileName(QPictureIO* theWrappedObject, const QString& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setFileName(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QPictureIO::write(QPictureIO* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->write(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setIODevice(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | void PythonQtWrapper_QPictureIO::setQuality(QPictureIO* theWrappedObject, int arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setQuality(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QIODevice* PythonQtWrapper_QPictureIO::ioDevice(QPictureIO* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->ioDevice(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setStatus(QPictureIO* theWrappedObject, int arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setStatus(arg__1); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QPictureIO::setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setPicture(arg__1); | ||
florianlink
|
r13 | } | ||