PythonQtWrapper_QRegExp.cpp
135 lines
| 3.5 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QRegExp.h" | ||
#include <QStringList> | ||||
#include <QVariant> | ||||
#include <qdatastream.h> | ||||
#include <qregexp.h> | ||||
#include <qstringlist.h> | ||||
QRegExp* PythonQtWrapper_QRegExp::new_QRegExp() | ||||
{ | ||||
return new QRegExp(); } | ||||
QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QRegExp& rx) | ||||
{ | ||||
return new QRegExp(rx); } | ||||
QRegExp* PythonQtWrapper_QRegExp::new_QRegExp(const QString& pattern, Qt::CaseSensitivity cs, QRegExp::PatternSyntax syntax) | ||||
{ | ||||
return new QRegExp(pattern, cs, syntax); } | ||||
QString PythonQtWrapper_QRegExp::cap(QRegExp* theWrappedObject, int nth) | ||||
{ | ||||
return theWrappedObject->cap(nth); | ||||
} | ||||
QStringList PythonQtWrapper_QRegExp::capturedTexts(QRegExp* theWrappedObject) | ||||
{ | ||||
return theWrappedObject->capturedTexts(); | ||||
} | ||||
Qt::CaseSensitivity PythonQtWrapper_QRegExp::caseSensitivity(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->caseSensitivity(); | ||||
} | ||||
QString PythonQtWrapper_QRegExp::errorString(QRegExp* theWrappedObject) | ||||
{ | ||||
return theWrappedObject->errorString(); | ||||
} | ||||
QString PythonQtWrapper_QRegExp::static_QRegExp_escape(const QString& str) | ||||
{ | ||||
return QRegExp::escape(str); | ||||
} | ||||
bool PythonQtWrapper_QRegExp::exactMatch(QRegExp* theWrappedObject, const QString& str) const | ||||
{ | ||||
return theWrappedObject->exactMatch(str); | ||||
} | ||||
int PythonQtWrapper_QRegExp::indexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const | ||||
{ | ||||
return theWrappedObject->indexIn(str, offset, caretMode); | ||||
} | ||||
bool PythonQtWrapper_QRegExp::isEmpty(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isEmpty(); | ||||
} | ||||
bool PythonQtWrapper_QRegExp::isMinimal(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isMinimal(); | ||||
} | ||||
bool PythonQtWrapper_QRegExp::isValid(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isValid(); | ||||
} | ||||
int PythonQtWrapper_QRegExp::lastIndexIn(QRegExp* theWrappedObject, const QString& str, int offset, QRegExp::CaretMode caretMode) const | ||||
{ | ||||
return theWrappedObject->lastIndexIn(str, offset, caretMode); | ||||
} | ||||
int PythonQtWrapper_QRegExp::matchedLength(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->matchedLength(); | ||||
} | ||||
int PythonQtWrapper_QRegExp::numCaptures(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->numCaptures(); | ||||
} | ||||
void PythonQtWrapper_QRegExp::writeTo(QRegExp* theWrappedObject, QDataStream& out) | ||||
{ | ||||
out << *theWrappedObject; | ||||
} | ||||
bool PythonQtWrapper_QRegExp::operator_equal(QRegExp* theWrappedObject, const QRegExp& rx) const | ||||
{ | ||||
return *theWrappedObject == rx; | ||||
} | ||||
void PythonQtWrapper_QRegExp::readFrom(QRegExp* theWrappedObject, QDataStream& in) | ||||
{ | ||||
in >> *theWrappedObject; | ||||
} | ||||
QString PythonQtWrapper_QRegExp::pattern(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->pattern(); | ||||
} | ||||
QRegExp::PatternSyntax PythonQtWrapper_QRegExp::patternSyntax(QRegExp* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->patternSyntax(); | ||||
} | ||||
int PythonQtWrapper_QRegExp::pos(QRegExp* theWrappedObject, int nth) | ||||
{ | ||||
return theWrappedObject->pos(nth); | ||||
} | ||||
void PythonQtWrapper_QRegExp::setCaseSensitivity(QRegExp* theWrappedObject, Qt::CaseSensitivity cs) | ||||
{ | ||||
theWrappedObject->setCaseSensitivity(cs); | ||||
} | ||||
void PythonQtWrapper_QRegExp::setMinimal(QRegExp* theWrappedObject, bool minimal) | ||||
{ | ||||
theWrappedObject->setMinimal(minimal); | ||||
} | ||||
void PythonQtWrapper_QRegExp::setPattern(QRegExp* theWrappedObject, const QString& pattern) | ||||
{ | ||||
theWrappedObject->setPattern(pattern); | ||||
} | ||||
void PythonQtWrapper_QRegExp::setPatternSyntax(QRegExp* theWrappedObject, QRegExp::PatternSyntax syntax) | ||||
{ | ||||
theWrappedObject->setPatternSyntax(syntax); | ||||
} | ||||