PythonQtWrapper_QTextDecoder.h
23 lines
| 601 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTEXTDECODER_H | ||
#define PYTHONQTWRAPPER_QTEXTDECODER_H | ||||
#include <qtextcodec.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qtextcodec.h> | ||||
class PythonQtWrapper_QTextDecoder : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTextDecoder* new_QTextDecoder(const QTextCodec* codec); | ||||
void delete_QTextDecoder(QTextDecoder* obj) { delete obj; } | ||||
QString toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba); | ||||
florianlink
|
r28 | bool hasFailure(QTextDecoder* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QTEXTDECODER_H | ||||