##// 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_QPixmapCache.h
35 lines | 939 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QPIXMAPCACHE_H
#define PYTHONQTWRAPPER_QPIXMAPCACHE_H
#include <qpixmapcache.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qpixmap.h>
class PythonQtShell_QPixmapCache : public QPixmapCache
{
public:
PythonQtShell_QPixmapCache():QPixmapCache(),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtWrapper_QPixmapCache : public QObject
{ Q_OBJECT
public:
public slots:
QPixmapCache* new_QPixmapCache();
void delete_QPixmapCache(QPixmapCache* obj) { delete obj; }
int static_QPixmapCache_cacheLimit();
bool static_QPixmapCache_find(const QString& key, QPixmap& arg__2);
bool static_QPixmapCache_insert(const QString& key, const QPixmap& arg__2);
void static_QPixmapCache_clear();
void static_QPixmapCache_remove(const QString& key);
void static_QPixmapCache_setCacheLimit(int arg__1);
};
#endif // PYTHONQTWRAPPER_QPIXMAPCACHE_H