PythonQtWrapper_QTextFragment.cpp
62 lines
| 1.7 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTextFragment.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qtextformat.h> | ||||
#include <qtextobject.h> | ||||
QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment() | ||||
{ | ||||
return new QTextFragment(); } | ||||
QTextFragment* PythonQtWrapper_QTextFragment::new_QTextFragment(const QTextFragment& o) | ||||
{ | ||||
return new QTextFragment(o); } | ||||
florianlink
|
r73 | bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->contains(position)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->charFormatIndex()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QTextFragment::operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( (*theWrappedObject)< o); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->length()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QTextFragment::operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( (*theWrappedObject)== o); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isValid()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->position()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->text()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->charFormat()); | ||
florianlink
|
r13 | } | ||