PythonQtWrapper_QStringMatcher.cpp
45 lines
| 1.4 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QStringMatcher.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #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); } | ||||
florianlink
|
r73 | int PythonQtWrapper_QStringMatcher::indexIn(QStringMatcher* theWrappedObject, const QString& str, int from) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->indexIn(str, from)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | Qt::CaseSensitivity PythonQtWrapper_QStringMatcher::caseSensitivity(QStringMatcher* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->caseSensitivity()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QStringMatcher::setCaseSensitivity(QStringMatcher* theWrappedObject, Qt::CaseSensitivity cs) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setCaseSensitivity(cs)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QStringMatcher::setPattern(QStringMatcher* theWrappedObject, const QString& pattern) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setPattern(pattern)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QString PythonQtWrapper_QStringMatcher::pattern(QStringMatcher* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->pattern()); | ||
florianlink
|
r13 | } | ||