#ifndef PYTHONQTWRAPPER_QTEXTDECODER_H #define PYTHONQTWRAPPER_QTEXTDECODER_H #include #include #include #include #include class PythonQtWrapper_QTextDecoder : public QObject { Q_OBJECT public: public slots: QTextDecoder* new_QTextDecoder(const QTextCodec* codec); void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } bool hasFailure(QTextDecoder* theWrappedObject) const; QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); }; #endif // PYTHONQTWRAPPER_QTEXTDECODER_H