PythonQtWrapper_QTextDocument.cpp
516 lines
| 16.8 KiB
| text/x-c
|
CppLexer
|
r13 | #include "PythonQtWrapper_QTextDocument.h" | ||
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
|
r13 | #include <QTextBlock> | ||
#include <QTextCursor> | ||||
#include <QTextFormat> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qfont.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qpainter.h> | ||||
#include <qprinter.h> | ||||
#include <qrect.h> | ||||
#include <qregexp.h> | ||||
#include <qsize.h> | ||||
#include <qtextcursor.h> | ||||
#include <qtextdocument.h> | ||||
#include <qtextformat.h> | ||||
#include <qtextobject.h> | ||||
#include <qurl.h> | ||||
#include <qvector.h> | ||||
|
r24 | void PythonQtShell_QTextDocument::childEvent(QChildEvent* arg__1) | ||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "childEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"childEvent(QTextDocument*,QChildEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextDocument::childEvent(arg__1); | ||||
} | ||||
void PythonQtShell_QTextDocument::clear() | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "clear"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"clear(QTextDocument*)"); | ||||
void* args[1] = {NULL}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextDocument::clear(); | ||||
} | ||||
QTextObject* PythonQtShell_QTextDocument::createObject(const QTextFormat& f) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "createObject"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"createObject(QTextDocument*,const QTextFormat& )"); | ||||
QTextObject* returnValue; | ||||
void* args[2] = {NULL, (void*)&f}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QTextObject* *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextDocument::createObject(f); | ||||
} | ||||
void PythonQtShell_QTextDocument::customEvent(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "customEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"customEvent(QTextDocument*,QEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextDocument::customEvent(arg__1); | ||||
} | ||||
bool PythonQtShell_QTextDocument::event(QEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "event"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"event(QTextDocument*,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextDocument::event(arg__1); | ||||
} | ||||
bool PythonQtShell_QTextDocument::eventFilter(QObject* arg__1, QEvent* arg__2) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "eventFilter"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"eventFilter(QTextDocument*,QObject* ,QEvent* )"); | ||||
bool returnValue; | ||||
void* args[3] = {NULL, (void*)&arg__1, (void*)&arg__2}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((bool *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextDocument::eventFilter(arg__1, arg__2); | ||||
} | ||||
QVariant PythonQtShell_QTextDocument::loadResource(int type, const QUrl& name) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "loadResource"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"loadResource(QTextDocument*,int ,const QUrl& )"); | ||||
QVariant returnValue; | ||||
void* args[3] = {NULL, (void*)&type, (void*)&name}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { | ||||
args[0] = PythonQtConv::ConvertPythonToQt(methodInfo->parameters().at(0), result, false, NULL, &returnValue); | ||||
if (args[0]!=&returnValue) { | ||||
returnValue = *((QVariant *)args[0]); | ||||
} | ||||
} | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return returnValue; | ||||
} | ||||
} | ||||
return QTextDocument::loadResource(type, name); | ||||
} | ||||
void PythonQtShell_QTextDocument::timerEvent(QTimerEvent* arg__1) | ||||
{ | ||||
if (_wrapper) { | ||||
PyObject* obj = PyObject_GetAttrString((PyObject*)_wrapper, "timerEvent"); | ||||
PyErr_Clear(); | ||||
if (obj && !PythonQtSlotFunction_Check(obj)) { | ||||
static const PythonQtMethodInfo* methodInfo = PythonQtMethodInfo::getCachedMethodInfoFromMetaObjectAndSignature( | ||||
&PythonQtWrapper_QTextDocument::staticMetaObject, | ||||
"timerEvent(QTextDocument*,QTimerEvent* )"); | ||||
void* args[2] = {NULL, (void*)&arg__1}; | ||||
PyObject* result = PythonQtSignalTarget::call(obj, methodInfo, args, true); | ||||
if (result) { Py_DECREF(result); } | ||||
Py_DECREF(obj); | ||||
return; | ||||
} | ||||
} | ||||
QTextDocument::timerEvent(arg__1); | ||||
} | ||||
|
r13 | QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(QObject* parent) | ||
{ | ||||
|
r24 | return new PythonQtShell_QTextDocument(parent); } | ||
|
r13 | |||
QTextDocument* PythonQtWrapper_QTextDocument::new_QTextDocument(const QString& text, QObject* parent) | ||||
{ | ||||
|
r24 | return new PythonQtShell_QTextDocument(text, parent); } | ||
|
r13 | |||
|
r28 | QAbstractTextDocumentLayout* PythonQtWrapper_QTextDocument::documentLayout(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->documentLayout(); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, int from, QTextDocument::FindFlags options) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->find(expr, from, options); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::findBlockByNumber(QTextDocument* theWrappedObject, int blockNumber) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->findBlockByNumber(blockNumber); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::drawContents(QTextDocument* theWrappedObject, QPainter* painter, const QRectF& rect) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->drawContents(painter, rect); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextDocument::defaultStyleSheet(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->defaultStyleSheet(); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QRegExp& expr, const QTextCursor& from, QTextDocument::FindFlags options) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->find(expr, from, options); | ||
|
r13 | } | ||
|
r28 | QSizeF PythonQtWrapper_QTextDocument::size(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->size(); | ||
|
r13 | } | ||
|
r28 | QVariant PythonQtWrapper_QTextDocument::resource(QTextDocument* theWrappedObject, int type, const QUrl& name) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->resource(type, name); | ||
|
r13 | } | ||
|
r28 | QVariant PythonQtWrapper_QTextDocument::loadResource(QTextDocument* theWrappedObject, int type, const QUrl& name) | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_loadResource(type, name); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, int from, QTextDocument::FindFlags options) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->find(subString, from, options); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::isEmpty(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isEmpty(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setTextWidth(QTextDocument* theWrappedObject, qreal width) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setTextWidth(width); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::isUndoAvailable(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isUndoAvailable(); | ||
|
r13 | } | ||
|
r28 | QTextOption PythonQtWrapper_QTextDocument::defaultTextOption(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->defaultTextOption(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setDocumentLayout(QTextDocument* theWrappedObject, QAbstractTextDocumentLayout* layout) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDocumentLayout(layout); | ||
|
r13 | } | ||
|
r28 | QTextCursor PythonQtWrapper_QTextDocument::find(QTextDocument* theWrappedObject, const QString& subString, const QTextCursor& from, QTextDocument::FindFlags options) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->find(subString, from, options); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setMaximumBlockCount(QTextDocument* theWrappedObject, int maximum) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setMaximumBlockCount(maximum); | ||
|
r13 | } | ||
|
r28 | QTextFrame* PythonQtWrapper_QTextDocument::rootFrame(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->rootFrame(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setPageSize(QTextDocument* theWrappedObject, const QSizeF& size) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setPageSize(size); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setUseDesignMetrics(QTextDocument* theWrappedObject, bool b) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setUseDesignMetrics(b); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::clear(QTextDocument* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_clear(); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextDocument::toHtml(QTextDocument* theWrappedObject, const QByteArray& encoding) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toHtml(encoding); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextDocument::maximumBlockCount(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->maximumBlockCount(); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextDocument::indentWidth(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->indentWidth(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::useDesignMetrics(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->useDesignMetrics(); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextDocument::metaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->metaInformation(info); | ||
|
r13 | } | ||
|
r28 | QVector<QTextFormat > PythonQtWrapper_QTextDocument::allFormats(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->allFormats(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::undo(QTextDocument* theWrappedObject, QTextCursor* cursor) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->undo(cursor); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::lastBlock(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->lastBlock(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setHtml(QTextDocument* theWrappedObject, const QString& html) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setHtml(html); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::isRedoAvailable(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isRedoAvailable(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::redo(QTextDocument* theWrappedObject, QTextCursor* cursor) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->redo(cursor); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setDefaultTextOption(QTextDocument* theWrappedObject, const QTextOption& option) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDefaultTextOption(option); | ||
|
r13 | } | ||
|
r28 | QSizeF PythonQtWrapper_QTextDocument::pageSize(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pageSize(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setDefaultStyleSheet(QTextDocument* theWrappedObject, const QString& sheet) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDefaultStyleSheet(sheet); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::findBlock(QTextDocument* theWrappedObject, int pos) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->findBlock(pos); | ||
|
r13 | } | ||
|
r28 | QTextObject* PythonQtWrapper_QTextDocument::createObject(QTextDocument* theWrappedObject, const QTextFormat& f) | ||
|
r13 | { | ||
|
r28 | return ((PythonQtPublicPromoter_QTextDocument*)theWrappedObject)->promoted_createObject(f); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextDocument::blockCount(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->blockCount(); | ||
|
r13 | } | ||
|
r28 | QFont PythonQtWrapper_QTextDocument::defaultFont(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->defaultFont(); | ||
|
r13 | } | ||
|
r28 | QString PythonQtWrapper_QTextDocument::toPlainText(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->toPlainText(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::markContentsDirty(QTextDocument* theWrappedObject, int from, int length) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->markContentsDirty(from, length); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setUndoRedoEnabled(QTextDocument* theWrappedObject, bool enable) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setUndoRedoEnabled(enable); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::end(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->end(); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::firstBlock(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->firstBlock(); | ||
|
r13 | } | ||
|
r28 | QTextBlock PythonQtWrapper_QTextDocument::begin(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->begin(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::adjustSize(QTextDocument* theWrappedObject) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->adjustSize(); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::isUndoRedoEnabled(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->isUndoRedoEnabled(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setDefaultFont(QTextDocument* theWrappedObject, const QFont& font) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setDefaultFont(font); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextDocument::textWidth(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->textWidth(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::addResource(QTextDocument* theWrappedObject, int type, const QUrl& name, const QVariant& resource) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->addResource(type, name, resource); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setPlainText(QTextDocument* theWrappedObject, const QString& text) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setPlainText(text); | ||
|
r13 | } | ||
|
r28 | QTextFrame* PythonQtWrapper_QTextDocument::frameAt(QTextDocument* theWrappedObject, int pos) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->frameAt(pos); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setMetaInformation(QTextDocument* theWrappedObject, QTextDocument::MetaInformation info, const QString& arg__2) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setMetaInformation(info, arg__2); | ||
|
r13 | } | ||
|
r28 | QTextObject* PythonQtWrapper_QTextDocument::objectForFormat(QTextDocument* theWrappedObject, const QTextFormat& arg__1) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->objectForFormat(arg__1); | ||
|
r13 | } | ||
|
r28 | qreal PythonQtWrapper_QTextDocument::idealWidth(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->idealWidth(); | ||
|
r13 | } | ||
|
r28 | QTextDocument* PythonQtWrapper_QTextDocument::clone(QTextDocument* theWrappedObject, QObject* parent) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->clone(parent); | ||
|
r13 | } | ||
|
r28 | int PythonQtWrapper_QTextDocument::pageCount(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->pageCount(); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::print(QTextDocument* theWrappedObject, QPrinter* printer) const | ||
|
r13 | { | ||
|
r28 | theWrappedObject->print(printer); | ||
|
r13 | } | ||
|
r28 | void PythonQtWrapper_QTextDocument::setIndentWidth(QTextDocument* theWrappedObject, qreal width) | ||
|
r13 | { | ||
|
r28 | theWrappedObject->setIndentWidth(width); | ||
|
r13 | } | ||
|
r28 | bool PythonQtWrapper_QTextDocument::isModified(QTextDocument* theWrappedObject) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->isModified(); | ||
|
r24 | } | ||
|
r28 | QTextObject* PythonQtWrapper_QTextDocument::object(QTextDocument* theWrappedObject, int objectIndex) const | ||
|
r24 | { | ||
|
r28 | return theWrappedObject->object(objectIndex); | ||
|
r24 | } | ||
|
r28 | int PythonQtWrapper_QTextDocument::revision(QTextDocument* theWrappedObject) const | ||
|
r13 | { | ||
|
r28 | return theWrappedObject->revision(); | ||
|
r13 | } | ||