##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QPictureIO.h
47 lines | 2.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPICTUREIO_H
#define PYTHONQTWRAPPER_QPICTUREIO_H
#include <qpicture.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qpicture.h>
class PythonQtWrapper_QPictureIO : public QObject
{ Q_OBJECT
public:
public slots:
QPictureIO* new_QPictureIO();
QPictureIO* new_QPictureIO(QIODevice* ioDevice, const char* format);
QPictureIO* new_QPictureIO(const QString& fileName, const char* format);
void delete_QPictureIO(QPictureIO* obj) { delete obj; }
QString description(QPictureIO* theWrappedObject) const;
QString fileName(QPictureIO* theWrappedObject) const;
const char* format(QPictureIO* theWrappedObject) const;
float gamma(QPictureIO* theWrappedObject) const;
QList<QByteArray > static_QPictureIO_inputFormats();
QIODevice* ioDevice(QPictureIO* theWrappedObject) const;
QList<QByteArray > static_QPictureIO_outputFormats();
const char* parameters(QPictureIO* theWrappedObject) const;
const QPicture& picture(QPictureIO* theWrappedObject) const;
QByteArray static_QPictureIO_pictureFormat(QIODevice* arg__1);
QByteArray static_QPictureIO_pictureFormat(const QString& fileName);
int quality(QPictureIO* theWrappedObject) const;
bool read(QPictureIO* theWrappedObject);
void setDescription(QPictureIO* theWrappedObject, const QString& arg__1);
void setFileName(QPictureIO* theWrappedObject, const QString& arg__1);
void setFormat(QPictureIO* theWrappedObject, const char* arg__1);
void setGamma(QPictureIO* theWrappedObject, float arg__1);
void setIODevice(QPictureIO* theWrappedObject, QIODevice* arg__1);
void setParameters(QPictureIO* theWrappedObject, const char* arg__1);
void setPicture(QPictureIO* theWrappedObject, const QPicture& arg__1);
void setQuality(QPictureIO* theWrappedObject, int arg__1);
void setStatus(QPictureIO* theWrappedObject, int arg__1);
int status(QPictureIO* theWrappedObject) const;
bool write(QPictureIO* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QPICTUREIO_H