|
|
#include "PythonQtWrapper_QTextBlock.h"
|
|
|
|
|
|
#include <PythonQtSignalReceiver.h>
|
|
|
#include <PythonQtMethodInfo.h>
|
|
|
#include <PythonQtConversion.h>
|
|
|
#include <QTextBlock>
|
|
|
#include <QVariant>
|
|
|
#include <qtextdocument.h>
|
|
|
#include <qtextformat.h>
|
|
|
#include <qtextlayout.h>
|
|
|
#include <qtextlist.h>
|
|
|
#include <qtextobject.h>
|
|
|
|
|
|
QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock()
|
|
|
{
|
|
|
return new QTextBlock(); }
|
|
|
|
|
|
QTextBlock* PythonQtWrapper_QTextBlock::new_QTextBlock(const QTextBlock& o)
|
|
|
{
|
|
|
return new QTextBlock(o); }
|
|
|
|
|
|
QString PythonQtWrapper_QTextBlock::text(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->text());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextBlock::setUserData(QTextBlock* theWrappedObject, QTextBlockUserData* data)
|
|
|
{
|
|
|
( theWrappedObject->setUserData(data));
|
|
|
}
|
|
|
|
|
|
QTextBlockFormat PythonQtWrapper_QTextBlock::blockFormat(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->blockFormat());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::position(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->position());
|
|
|
}
|
|
|
|
|
|
QTextBlock::iterator PythonQtWrapper_QTextBlock::end(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->end());
|
|
|
}
|
|
|
|
|
|
QTextBlockUserData* PythonQtWrapper_QTextBlock::userData(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->userData());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextBlock::operator_equal(QTextBlock* theWrappedObject, const QTextBlock& o) const
|
|
|
{
|
|
|
return ( (*theWrappedObject)== o);
|
|
|
}
|
|
|
|
|
|
QTextBlock::iterator PythonQtWrapper_QTextBlock::begin(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->begin());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::revision(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->revision());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextBlock::setUserState(QTextBlock* theWrappedObject, int state)
|
|
|
{
|
|
|
( theWrappedObject->setUserState(state));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::userState(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->userState());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::charFormatIndex(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->charFormatIndex());
|
|
|
}
|
|
|
|
|
|
QTextLayout* PythonQtWrapper_QTextBlock::layout(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->layout());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextBlock::setRevision(QTextBlock* theWrappedObject, int rev)
|
|
|
{
|
|
|
( theWrappedObject->setRevision(rev));
|
|
|
}
|
|
|
|
|
|
const QTextDocument* PythonQtWrapper_QTextBlock::document(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->document());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextBlock::contains(QTextBlock* theWrappedObject, int position) const
|
|
|
{
|
|
|
return ( theWrappedObject->contains(position));
|
|
|
}
|
|
|
|
|
|
QTextCharFormat PythonQtWrapper_QTextBlock::charFormat(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->charFormat());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextBlock::isValid(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isValid());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextBlock::operator_less(QTextBlock* theWrappedObject, const QTextBlock& o) const
|
|
|
{
|
|
|
return ( (*theWrappedObject)< o);
|
|
|
}
|
|
|
|
|
|
QTextBlock PythonQtWrapper_QTextBlock::previous(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->previous());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextBlock::setVisible(QTextBlock* theWrappedObject, bool visible)
|
|
|
{
|
|
|
( theWrappedObject->setVisible(visible));
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::blockNumber(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->blockNumber());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::length(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->length());
|
|
|
}
|
|
|
|
|
|
void PythonQtWrapper_QTextBlock::clearLayout(QTextBlock* theWrappedObject)
|
|
|
{
|
|
|
( theWrappedObject->clearLayout());
|
|
|
}
|
|
|
|
|
|
bool PythonQtWrapper_QTextBlock::isVisible(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->isVisible());
|
|
|
}
|
|
|
|
|
|
QTextBlock PythonQtWrapper_QTextBlock::next(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->next());
|
|
|
}
|
|
|
|
|
|
QTextList* PythonQtWrapper_QTextBlock::textList(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->textList());
|
|
|
}
|
|
|
|
|
|
int PythonQtWrapper_QTextBlock::blockFormatIndex(QTextBlock* theWrappedObject) const
|
|
|
{
|
|
|
return ( theWrappedObject->blockFormatIndex());
|
|
|
}
|
|
|
|
|
|
|