##// 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_QImageIOPlugin.h
29 lines | 1018 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H
#define PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H
#include <qimageiohandler.h>
#include <QObject>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qimageiohandler.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qobject.h>
#include <qstringlist.h>
class PythonQtWrapper_QImageIOPlugin : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Capability )
enum Capability{
CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental};
public slots:
void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; }
QImageIOPlugin::Capabilities capabilities(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format) const;
QImageIOHandler* create(QImageIOPlugin* theWrappedObject, QIODevice* device, const QByteArray& format = QByteArray()) const;
QStringList keys(QImageIOPlugin* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H