##// END OF EJS Templates
added builtin support for variants etc., this will replace the direct includes in PythonQt...
added builtin support for variants etc., this will replace the direct includes in PythonQt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@129 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r93:7b53f64eae84
Show More
PythonQtWrapper_QTextFragment.cpp
62 lines | 1.7 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QTextFragment.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.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); }
bool PythonQtWrapper_QTextFragment::contains(QTextFragment* theWrappedObject, int position) const
{
return ( theWrappedObject->contains(position));
}
int PythonQtWrapper_QTextFragment::charFormatIndex(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->charFormatIndex());
}
bool PythonQtWrapper_QTextFragment::operator_less(QTextFragment* theWrappedObject, const QTextFragment& o) const
{
return ( (*theWrappedObject)< o);
}
int PythonQtWrapper_QTextFragment::length(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->length());
}
bool PythonQtWrapper_QTextFragment::operator_equal(QTextFragment* theWrappedObject, const QTextFragment& o) const
{
return ( (*theWrappedObject)== o);
}
bool PythonQtWrapper_QTextFragment::isValid(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->isValid());
}
int PythonQtWrapper_QTextFragment::position(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->position());
}
QString PythonQtWrapper_QTextFragment::text(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->text());
}
QTextCharFormat PythonQtWrapper_QTextFragment::charFormat(QTextFragment* theWrappedObject) const
{
return ( theWrappedObject->charFormat());
}