##// 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_QByteArrayMatcher.cpp
33 lines | 1014 B | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_core / PythonQtWrapper_QByteArrayMatcher.cpp
#include "PythonQtWrapper_QByteArrayMatcher.h"
#include <QVariant>
#include <qbytearray.h>
#include <qbytearraymatcher.h>
QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher()
{
return new QByteArrayMatcher(); }
QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArray& pattern)
{
return new QByteArrayMatcher(pattern); }
QByteArrayMatcher* PythonQtWrapper_QByteArrayMatcher::new_QByteArrayMatcher(const QByteArrayMatcher& other)
{
return new QByteArrayMatcher(other); }
int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from) const
{
return theWrappedObject->indexIn(ba, from);
}
QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const
{
return theWrappedObject->pattern();
}
void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern)
{
theWrappedObject->setPattern(pattern);
}