##// 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_QTextImageFormat.cpp
50 lines | 1.2 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QTextImageFormat.cpp
#include "PythonQtWrapper_QTextImageFormat.h"
#include <QVariant>
#include <qbrush.h>
#include <qcolor.h>
#include <qfont.h>
#include <qpen.h>
#include <qstringlist.h>
#include <qtextformat.h>
#include <qvector.h>
QTextImageFormat* PythonQtWrapper_QTextImageFormat::new_QTextImageFormat()
{
return new QTextImageFormat(); }
qreal PythonQtWrapper_QTextImageFormat::height(QTextImageFormat* theWrappedObject) const
{
return theWrappedObject->height();
}
bool PythonQtWrapper_QTextImageFormat::isValid(QTextImageFormat* theWrappedObject) const
{
return theWrappedObject->isValid();
}
QString PythonQtWrapper_QTextImageFormat::name(QTextImageFormat* theWrappedObject) const
{
return theWrappedObject->name();
}
void PythonQtWrapper_QTextImageFormat::setHeight(QTextImageFormat* theWrappedObject, qreal height)
{
theWrappedObject->setHeight(height);
}
void PythonQtWrapper_QTextImageFormat::setName(QTextImageFormat* theWrappedObject, const QString& name)
{
theWrappedObject->setName(name);
}
void PythonQtWrapper_QTextImageFormat::setWidth(QTextImageFormat* theWrappedObject, qreal width)
{
theWrappedObject->setWidth(width);
}
qreal PythonQtWrapper_QTextImageFormat::width(QTextImageFormat* theWrappedObject) const
{
return theWrappedObject->width();
}