Visitar URL original
TEST ONLY: this adds the PR139 generated files to the master branch by jbowler · Pull Request #140 · MeVisLab/pythonqt · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
generated_cpp_511 from Qt5.11.3
These files are generated by the a current build of pythonqt_generator
from the qt6 branch; source code identical to commit:

38979b7

Note that the actual files were generated before that commit was
generated from what appears to be a rebase against master.  The source
files used are identical to those in the commit.

Signed-off-by: John Bowler <jbowler@acm.org>
  • Loading branch information
jbowler committed Nov 2, 2023
commit e78f064d257e63e89daf0136612b84efc6d61b49
1,155 changes: 578 additions & 577 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.cpp

Large diffs are not rendered by default.

501 changes: 251 additions & 250 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core0.h

Large diffs are not rendered by default.

1,426 changes: 696 additions & 730 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.cpp

Large diffs are not rendered by default.

602 changes: 296 additions & 306 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core1.h

Large diffs are not rendered by default.

1,572 changes: 582 additions & 990 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.cpp

Large diffs are not rendered by default.

747 changes: 333 additions & 414 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core2.h

Large diffs are not rendered by default.

1,264 changes: 1,003 additions & 261 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.cpp

Large diffs are not rendered by default.

496 changes: 348 additions & 148 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core3.h

Large diffs are not rendered by default.

124 changes: 64 additions & 60 deletions generated_cpp_511/com_trolltech_qt_core/com_trolltech_qt_core_init.cpp

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <qpoint.h>
#include <qrect.h>
#include <qregexp.h>
#include <qregularexpression.h>
#include <qsize.h>
#include <qstringlist.h>
#include <qtextcodec.h>
Expand Down Expand Up @@ -455,6 +456,11 @@ QByteArray PythonQtWrapper_QByteArray::static_QByteArray_number(qlonglong arg_
return (QByteArray::number(arg__1, base));
}

bool PythonQtWrapper_QByteArray::__ne__(QByteArray* theWrappedObject, const QByteArray& a2)
{
return ( (*theWrappedObject)!= a2);
}

const QByteArray PythonQtWrapper_QByteArray::__add__(QByteArray* theWrappedObject, char a2)
{
return ( (*theWrappedObject)+ a2);
Expand Down Expand Up @@ -2172,6 +2178,11 @@ int PythonQtWrapper_QPoint::manhattanLength(QPoint* theWrappedObject) const
return ( theWrappedObject->manhattanLength());
}

bool PythonQtWrapper_QPoint::__ne__(QPoint* theWrappedObject, const QPoint& p2)
{
return ( (*theWrappedObject)!= p2);
}

QPoint PythonQtWrapper_QPoint::__mul__(QPoint* theWrappedObject, const QMatrix& m)
{
return ( (*theWrappedObject)* m);
Expand Down Expand Up @@ -2318,6 +2329,11 @@ qreal PythonQtWrapper_QPointF::manhattanLength(QPointF* theWrappedObject) const
return ( theWrappedObject->manhattanLength());
}

bool PythonQtWrapper_QPointF::__ne__(QPointF* theWrappedObject, const QPointF& p2)
{
return ( (*theWrappedObject)!= p2);
}

QPointF PythonQtWrapper_QPointF::__mul__(QPointF* theWrappedObject, const QMatrix& m)
{
return ( (*theWrappedObject)* m);
Expand Down Expand Up @@ -2593,6 +2609,11 @@ QRect PythonQtWrapper_QRect::normalized(QRect* theWrappedObject) const
return ( theWrappedObject->normalized());
}

bool PythonQtWrapper_QRect::__ne__(QRect* theWrappedObject, const QRect& arg__2)
{
return ( (*theWrappedObject)!= arg__2);
}

QRect PythonQtWrapper_QRect::__and__(QRect* theWrappedObject, const QRect& r) const
{
return ( (*theWrappedObject)& r);
Expand Down Expand Up @@ -2972,6 +2993,11 @@ QRectF PythonQtWrapper_QRectF::normalized(QRectF* theWrappedObject) const
return ( theWrappedObject->normalized());
}

bool PythonQtWrapper_QRectF::__ne__(QRectF* theWrappedObject, const QRectF& arg__2)
{
return ( (*theWrappedObject)!= arg__2);
}

QRectF PythonQtWrapper_QRectF::__and__(QRectF* theWrappedObject, const QRectF& r) const
{
return ( (*theWrappedObject)& r);
Expand Down Expand Up @@ -3337,6 +3363,132 @@ QString PythonQtWrapper_QRegExp::py_toString(QRegExp* obj) {



QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression()
{
return new QRegularExpression(); }

QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QRegularExpression& re)
{
return new QRegularExpression(re); }

QRegularExpression* PythonQtWrapper_QRegularExpression::new_QRegularExpression(const QString& pattern, QRegularExpression::PatternOptions options)
{
return new QRegularExpression(pattern, options); }

int PythonQtWrapper_QRegularExpression::captureCount(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->captureCount());
}

QString PythonQtWrapper_QRegularExpression::errorString(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->errorString());
}

QString PythonQtWrapper_QRegularExpression::static_QRegularExpression_escape(const QString& str)
{
return (QRegularExpression::escape(str));
}

QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const
{
return ( theWrappedObject->globalMatch(subject, offset, matchType, matchOptions));
}

QRegularExpressionMatchIterator PythonQtWrapper_QRegularExpression::globalMatch(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const
{
return ( theWrappedObject->globalMatch(subjectRef, offset, matchType, matchOptions));
}

bool PythonQtWrapper_QRegularExpression::isValid(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}

QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QString& subject, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const
{
return ( theWrappedObject->match(subject, offset, matchType, matchOptions));
}

QRegularExpressionMatch PythonQtWrapper_QRegularExpression::match(QRegularExpression* theWrappedObject, const QStringRef& subjectRef, int offset, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions) const
{
return ( theWrappedObject->match(subjectRef, offset, matchType, matchOptions));
}

QStringList PythonQtWrapper_QRegularExpression::namedCaptureGroups(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->namedCaptureGroups());
}

bool PythonQtWrapper_QRegularExpression::__ne__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const
{
return ( (*theWrappedObject)!= re);
}

void PythonQtWrapper_QRegularExpression::writeTo(QRegularExpression* theWrappedObject, QDataStream& out)
{
out << (*theWrappedObject);
}

QRegularExpression* PythonQtWrapper_QRegularExpression::operator_assign(QRegularExpression* theWrappedObject, const QRegularExpression& re)
{
return &( (*theWrappedObject)= re);
}

bool PythonQtWrapper_QRegularExpression::__eq__(QRegularExpression* theWrappedObject, const QRegularExpression& re) const
{
return ( (*theWrappedObject)== re);
}

void PythonQtWrapper_QRegularExpression::readFrom(QRegularExpression* theWrappedObject, QDataStream& in)
{
in >> (*theWrappedObject);
}

void PythonQtWrapper_QRegularExpression::optimize(QRegularExpression* theWrappedObject) const
{
( theWrappedObject->optimize());
}

QString PythonQtWrapper_QRegularExpression::pattern(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->pattern());
}

int PythonQtWrapper_QRegularExpression::patternErrorOffset(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->patternErrorOffset());
}

QRegularExpression::PatternOptions PythonQtWrapper_QRegularExpression::patternOptions(QRegularExpression* theWrappedObject) const
{
return ( theWrappedObject->patternOptions());
}

void PythonQtWrapper_QRegularExpression::setPattern(QRegularExpression* theWrappedObject, const QString& pattern)
{
( theWrappedObject->setPattern(pattern));
}

void PythonQtWrapper_QRegularExpression::setPatternOptions(QRegularExpression* theWrappedObject, QRegularExpression::PatternOptions options)
{
( theWrappedObject->setPatternOptions(options));
}

void PythonQtWrapper_QRegularExpression::swap(QRegularExpression* theWrappedObject, QRegularExpression& other)
{
( theWrappedObject->swap(other));
}

QString PythonQtWrapper_QRegularExpression::py_toString(QRegularExpression* obj) {
QString result;
QDebug d(&result);
d << *obj;
return result;
}



QSize* PythonQtWrapper_QSize::new_QSize()
{
return new QSize(); }
Expand Down Expand Up @@ -3375,6 +3527,11 @@ bool PythonQtWrapper_QSize::isValid(QSize* theWrappedObject) const
return ( theWrappedObject->isValid());
}

bool PythonQtWrapper_QSize::__ne__(QSize* theWrappedObject, const QSize& s2)
{
return ( (*theWrappedObject)!= s2);
}

const QSize PythonQtWrapper_QSize::__mul__(QSize* theWrappedObject, qreal c)
{
return ( (*theWrappedObject)* c);
Expand Down Expand Up @@ -3526,6 +3683,11 @@ bool PythonQtWrapper_QSizeF::isValid(QSizeF* theWrappedObject) const
return ( theWrappedObject->isValid());
}

bool PythonQtWrapper_QSizeF::__ne__(QSizeF* theWrappedObject, const QSizeF& s2)
{
return ( (*theWrappedObject)!= s2);
}

const QSizeF PythonQtWrapper_QSizeF::__mul__(QSizeF* theWrappedObject, qreal c)
{
return ( (*theWrappedObject)* c);
Expand Down
Loading