##// END OF EJS Templates
added PyLauncher example...
added PyLauncher example added hadError() to scripting console added addSysPath() git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@50 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r14:59f352c6d9fb
Show More
PythonQtWrapper_QImageWriter.cpp
116 lines | 3.2 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QImageWriter.h"
#include <QVariant>
#include <qbytearray.h>
#include <qimage.h>
#include <qimagewriter.h>
#include <qiodevice.h>
#include <qlist.h>
QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter()
{
return new QImageWriter(); }
QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(QIODevice* device, const QByteArray& format)
{
return new QImageWriter(device, format); }
QImageWriter* PythonQtWrapper_QImageWriter::new_QImageWriter(const QString& fileName, const QByteArray& format)
{
return new QImageWriter(fileName, format); }
bool PythonQtWrapper_QImageWriter::canWrite(QImageWriter* theWrappedObject) const
{
return theWrappedObject->canWrite();
}
int PythonQtWrapper_QImageWriter::compression(QImageWriter* theWrappedObject) const
{
return theWrappedObject->compression();
}
QIODevice* PythonQtWrapper_QImageWriter::device(QImageWriter* theWrappedObject) const
{
return theWrappedObject->device();
}
QImageWriter::ImageWriterError PythonQtWrapper_QImageWriter::error(QImageWriter* theWrappedObject) const
{
return theWrappedObject->error();
}
QString PythonQtWrapper_QImageWriter::errorString(QImageWriter* theWrappedObject) const
{
return theWrappedObject->errorString();
}
QString PythonQtWrapper_QImageWriter::fileName(QImageWriter* theWrappedObject) const
{
return theWrappedObject->fileName();
}
QByteArray PythonQtWrapper_QImageWriter::format(QImageWriter* theWrappedObject) const
{
return theWrappedObject->format();
}
float PythonQtWrapper_QImageWriter::gamma(QImageWriter* theWrappedObject) const
{
return theWrappedObject->gamma();
}
int PythonQtWrapper_QImageWriter::quality(QImageWriter* theWrappedObject) const
{
return theWrappedObject->quality();
}
void PythonQtWrapper_QImageWriter::setCompression(QImageWriter* theWrappedObject, int compression)
{
theWrappedObject->setCompression(compression);
}
void PythonQtWrapper_QImageWriter::setDevice(QImageWriter* theWrappedObject, QIODevice* device)
{
theWrappedObject->setDevice(device);
}
void PythonQtWrapper_QImageWriter::setFileName(QImageWriter* theWrappedObject, const QString& fileName)
{
theWrappedObject->setFileName(fileName);
}
void PythonQtWrapper_QImageWriter::setFormat(QImageWriter* theWrappedObject, const QByteArray& format)
{
theWrappedObject->setFormat(format);
}
void PythonQtWrapper_QImageWriter::setGamma(QImageWriter* theWrappedObject, float gamma)
{
theWrappedObject->setGamma(gamma);
}
void PythonQtWrapper_QImageWriter::setQuality(QImageWriter* theWrappedObject, int quality)
{
theWrappedObject->setQuality(quality);
}
void PythonQtWrapper_QImageWriter::setText(QImageWriter* theWrappedObject, const QString& key, const QString& text)
{
theWrappedObject->setText(key, text);
}
QList<QByteArray > PythonQtWrapper_QImageWriter::static_QImageWriter_supportedImageFormats()
{
return QImageWriter::supportedImageFormats();
}
bool PythonQtWrapper_QImageWriter::supportsOption(QImageWriter* theWrappedObject, QImageIOHandler::ImageOption option) const
{
return theWrappedObject->supportsOption(option);
}
bool PythonQtWrapper_QImageWriter::write(QImageWriter* theWrappedObject, const QImage& image)
{
return theWrappedObject->write(image);
}