##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QTextFragment.cpp
59 lines | 1.5 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextFragment.h"
#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); }
QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const
{
return theWrappedObject->charFormat();
}
int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const
{
return theWrappedObject->charFormatIndex();
}
bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const
{
return theWrappedObject->contains(position);
}
bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const
{
return theWrappedObject->isValid();
}
int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const
{
return theWrappedObject->length();
}
bool PythonQtWrapper_QTextFragment::operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const
{
return *theWrappedObject < o;
}
bool PythonQtWrapper_QTextFragment::operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const
{
return *theWrappedObject == o;
}
int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const
{
return theWrappedObject->position();
}
QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const
{
return theWrappedObject->text();
}