#ifndef PYTHONQTWRAPPER_QMIMEDATA_H #define PYTHONQTWRAPPER_QMIMEDATA_H #include #include #include #include #include #include #include #include #include #include #include #include class PythonQtWrapper_QMimeData : public QObject { Q_OBJECT public: public slots: QMimeData* new_QMimeData(); void delete_QMimeData(QMimeData* obj) { delete obj; } void clear(QMimeData* theWrappedObject); QVariant colorData(QMimeData* theWrappedObject) const; QByteArray data(QMimeData* theWrappedObject, const QString& mimetype) const; QStringList formats(QMimeData* theWrappedObject) const; bool hasColor(QMimeData* theWrappedObject) const; bool hasFormat(QMimeData* theWrappedObject, const QString& mimetype) const; bool hasHtml(QMimeData* theWrappedObject) const; bool hasImage(QMimeData* theWrappedObject) const; bool hasText(QMimeData* theWrappedObject) const; bool hasUrls(QMimeData* theWrappedObject) const; QString html(QMimeData* theWrappedObject) const; QVariant imageData(QMimeData* theWrappedObject) const; void removeFormat(QMimeData* theWrappedObject, const QString& mimetype); void setColorData(QMimeData* theWrappedObject, const QVariant& color); void setData(QMimeData* theWrappedObject, const QString& mimetype, const QByteArray& data); void setHtml(QMimeData* theWrappedObject, const QString& html); void setImageData(QMimeData* theWrappedObject, const QVariant& image); void setText(QMimeData* theWrappedObject, const QString& text); void setUrls(QMimeData* theWrappedObject, const QList& urls); QString text(QMimeData* theWrappedObject) const; QList urls(QMimeData* theWrappedObject) const; }; #endif // PYTHONQTWRAPPER_QMIMEDATA_H