PythonQtWrapper_QTextTableCell.cpp
90 lines
| 2.4 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QTextTableCell.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QTextCursor> | ||
#include <QTextFrame> | ||||
#include <QVariant> | ||||
#include <qtextcursor.h> | ||||
#include <qtextformat.h> | ||||
#include <qtexttable.h> | ||||
QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell() | ||||
{ | ||||
return new QTextTableCell(); } | ||||
QTextTableCell* PythonQtWrapper_QTextTableCell::new_QTextTableCell(const QTextTableCell& o) | ||||
{ | ||||
return new QTextTableCell(o); } | ||||
florianlink
|
r28 | bool PythonQtWrapper_QTextTableCell::isValid(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->isValid(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QTextCharFormat PythonQtWrapper_QTextTableCell::format(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->format(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::column(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->column(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::columnSpan(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->columnSpan(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::lastPosition(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->lastPosition(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QTextCursor PythonQtWrapper_QTextTableCell::lastCursorPosition(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->lastCursorPosition(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QTextFrame::iterator PythonQtWrapper_QTextTableCell::end(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->end(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::firstPosition(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->firstPosition(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QTextCursor PythonQtWrapper_QTextTableCell::firstCursorPosition(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->firstCursorPosition(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::row(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->row(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | QTextFrame::iterator PythonQtWrapper_QTextTableCell::begin(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->begin(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | bool PythonQtWrapper_QTextTableCell::operator_equal(QTextTableCell* theWrappedObject, const QTextTableCell& other) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return (*theWrappedObject)== other; | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | void PythonQtWrapper_QTextTableCell::setFormat(QTextTableCell* theWrappedObject, const QTextCharFormat& format) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->setFormat(format); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QTextTableCell::rowSpan(QTextTableCell* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->rowSpan(); | ||
florianlink
|
r13 | } | ||