PythonQtWrapper_QByteArrayMatcher.cpp
36 lines
| 1.1 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QByteArrayMatcher.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #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); } | ||||
florianlink
|
r28 | void PythonQtWrapper_QByteArrayMatcher::setPattern(QByteArrayMatcher* theWrappedObject, const QByteArray& pattern) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setPattern(pattern); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QByteArrayMatcher::indexIn(QByteArrayMatcher* theWrappedObject, const QByteArray& ba, int from) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->indexIn(ba, from); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QByteArray PythonQtWrapper_QByteArrayMatcher::pattern(QByteArrayMatcher* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->pattern(); | ||
florianlink
|
r13 | } | ||