##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QMimeData.h
74 lines | 3.0 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QMIMEDATA_H
#define PYTHONQTWRAPPER_QMIMEDATA_H
#include <qmimedata.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QStringList>
#include <QUrl>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qstringlist.h>
#include <qurl.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QMimeData : public QMimeData
{
public:
PythonQtShell_QMimeData():QMimeData(),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual QStringList formats() const;
virtual bool hasFormat(const QString& mimetype) const;
virtual QVariant retrieveData(const QString& mimetype, QVariant::Type preferredType) const;
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QMimeData : public QMimeData
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline QStringList promoted_formats() const { return QMimeData::formats(); }
inline bool promoted_hasFormat(const QString& mimetype) const { return QMimeData::hasFormat(mimetype); }
inline QVariant promoted_retrieveData(const QString& mimetype, QVariant::Type preferredType) const { return QMimeData::retrieveData(mimetype, preferredType); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QMimeData : public QObject
{ Q_OBJECT
public:
public slots:
QMimeData* new_QMimeData();
void delete_QMimeData(QMimeData* obj) { delete obj; }
florianlink
upgraded wrappers to current generator version...
r28 QVariant colorData(QMimeData* theWrappedObject) const;
bool hasImage(QMimeData* theWrappedObject) const;
QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const;
void setUrls(QMimeData* theWrappedObject, const QList<QUrl >& urls);
QVariant imageData(QMimeData* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void setImageData(QMimeData* theWrappedObject, const QVariant& image);
florianlink
upgraded wrappers to current generator version...
r28 QStringList formats(QMimeData* theWrappedObject) const;
void setHtml(QMimeData* theWrappedObject, const QString& html);
void setText(QMimeData* theWrappedObject, const QString& text);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const;
florianlink
upgraded wrappers to current generator version...
r28 QList<QUrl > urls(QMimeData* theWrappedObject) const;
void setColorData(QMimeData* theWrappedObject, const QVariant& color);
bool hasHtml(QMimeData* theWrappedObject) const;
void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data);
void clear(QMimeData* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString html(QMimeData* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool hasUrls(QMimeData* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString text(QMimeData* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool hasText(QMimeData* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void removeFormat(QMimeData* theWrappedObject, const QString& mimetype);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool hasColor(QMimeData* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 QVariant retrieveData(QMimeData* theWrappedObject, const QString& mimetype, QVariant::Type preferredType) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QMIMEDATA_H