##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
Show More
PythonQtWrapper_QImageIOPlugin.h
48 lines | 1.5 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H
#define PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H
#include <qimageiohandler.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qimageiohandler.h>
#include <qiodevice.h>
#include <qlist.h>
#include <qobject.h>
#include <qstringlist.h>
class PythonQtShell_QImageIOPlugin : public QImageIOPlugin
{
public:
PythonQtShell_QImageIOPlugin(QObject* parent = 0):QImageIOPlugin(parent),_wrapper(NULL) {};
virtual QImageIOPlugin::Capabilities capabilities(QIODevice* device, const QByteArray& format) const;
virtual void childEvent(QChildEvent* arg__1);
virtual QImageIOHandler* create(QIODevice* device, const QByteArray& format = QByteArray()) const;
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual QStringList keys() const;
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QImageIOPlugin : public QObject
{ Q_OBJECT
public:
Q_ENUMS(Capability )
Q_FLAGS(Capabilities )
enum Capability{
CanRead = QImageIOPlugin::CanRead, CanWrite = QImageIOPlugin::CanWrite, CanReadIncremental = QImageIOPlugin::CanReadIncremental};
Q_DECLARE_FLAGS(Capabilities, Capability)
public slots:
QImageIOPlugin* new_QImageIOPlugin(QObject* parent = 0);
void delete_QImageIOPlugin(QImageIOPlugin* obj) { delete obj; }
};
#endif // PYTHONQTWRAPPER_QIMAGEIOPLUGIN_H