PythonQtWrapper_QByteArrayMatcher.cpp
33 lines
| 1014 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #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); | ||||
} | ||||