PythonQtWrapper_QTextEncoder.cpp
18 lines
| 493 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTextEncoder.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qbytearray.h> | ||||
#include <qtextcodec.h> | ||||
QTextEncoder* PythonQtWrapper_QTextEncoder::new_QTextEncoder(const QTextCodec* codec) | ||||
{ | ||||
return new QTextEncoder(codec); } | ||||
QByteArray PythonQtWrapper_QTextEncoder::fromUnicode(QTextEncoder* theWrappedObject, const QString& str) | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->fromUnicode(str); | ||
florianlink
|
r13 | } | ||