PythonQtWrapper_QStringMatcher.cpp
42 lines
| 1.2 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QStringMatcher.h" | ||
#include <QVariant> | ||||
#include <qstringmatcher.h> | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher() | ||||
{ | ||||
return new QStringMatcher(); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QString& pattern, Qt::CaseSensitivity cs) | ||||
{ | ||||
return new QStringMatcher(pattern, cs); } | ||||
QStringMatcher* PythonQtWrapper_QStringMatcher::new_QStringMatcher(const QStringMatcher& other) | ||||
{ | ||||
return new QStringMatcher(other); } | ||||
Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->caseSensitivity(); | ||||
} | ||||
int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const | ||||
{ | ||||
return theWrappedObject->indexIn(str, from); | ||||
} | ||||
QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->pattern(); | ||||
} | ||||
void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) | ||||
{ | ||||
theWrappedObject->setCaseSensitivity(cs); | ||||
} | ||||
void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) | ||||
{ | ||||
theWrappedObject->setPattern(pattern); | ||||
} | ||||