##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
Show More
PythonQtWrapper_QTextDecoder.cpp
20 lines | 515 B | text/x-c | CppLexer
#include "PythonQtWrapper_QTextDecoder.h"
#include <QVariant>
#include <qbytearray.h>
#include <qtextcodec.h>
QTextDecoder* PythonQtWrapper_QTextDecoder::new_QTextDecoder(const QTextCodec* codec)
{
return new QTextDecoder(codec); }
bool PythonQtWrapper_QTextDecoder::hasFailure(QTextDecoder* theWrappedObject) const
{
return theWrappedObject->hasFailure();
}
QString PythonQtWrapper_QTextDecoder::toUnicode(QTextDecoder* theWrappedObject, const QByteArray& ba)
{
return theWrappedObject->toUnicode(ba);
}