##// END OF EJS Templates
allow to pass invalid QVariants as QVariant parameter of slots...
allow to pass invalid QVariants as QVariant parameter of slots git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@126 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r90:6da6bce07af7
Show More
PythonQtWrapper_QTextDecoder.cpp
23 lines | 625 B | text/x-c | CppLexer
#include "PythonQtWrapper_QTextDecoder.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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));
}