##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QTextItem.cpp
39 lines | 881 B | text/x-c | CppLexer
#include "PythonQtWrapper_QTextItem.h"
#include <QVariant>
#include <qfont.h>
QTextItem* PythonQtWrapper_QTextItem::new_QTextItem()
{
return new QTextItem(); }
qreal PythonQtWrapper_QTextItem::ascent(QTextItem* theWrappedObject) const
{
return theWrappedObject->ascent();
}
qreal PythonQtWrapper_QTextItem::descent(QTextItem* theWrappedObject) const
{
return theWrappedObject->descent();
}
QFont PythonQtWrapper_QTextItem::font(QTextItem* theWrappedObject) const
{
return theWrappedObject->font();
}
QTextItem::RenderFlags PythonQtWrapper_QTextItem::renderFlags(QTextItem* theWrappedObject) const
{
return theWrappedObject->renderFlags();
}
QString PythonQtWrapper_QTextItem::text(QTextItem* theWrappedObject) const
{
return theWrappedObject->text();
}
qreal PythonQtWrapper_QTextItem::width(QTextItem* theWrappedObject) const
{
return theWrappedObject->width();
}