##// 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_QTextObject.cpp
31 lines | 743 B | text/x-c | CppLexer
#include "PythonQtWrapper_QTextObject.h"
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtextdocument.h>
#include <qtextformat.h>
#include <qtextobject.h>
QTextDocument* PythonQtWrapper_QTextObject::document(QTextObject* theWrappedObject) const
{
return theWrappedObject->document();
}
QTextFormat PythonQtWrapper_QTextObject::format(QTextObject* theWrappedObject) const
{
return theWrappedObject->format();
}
int PythonQtWrapper_QTextObject::formatIndex(QTextObject* theWrappedObject) const
{
return theWrappedObject->formatIndex();
}
int PythonQtWrapper_QTextObject::objectIndex(QTextObject* theWrappedObject) const
{
return theWrappedObject->objectIndex();
}