##// 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_QPaintDevice.cpp
71 lines | 1.7 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QPaintDevice.h"
#include <QVariant>
#include <qpaintdevice.h>
#include <qpaintengine.h>
int PythonQtWrapper_QPaintDevice::depth(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->depth();
}
int PythonQtWrapper_QPaintDevice::devType(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->devType();
}
int PythonQtWrapper_QPaintDevice::height(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->height();
}
int PythonQtWrapper_QPaintDevice::heightMM(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->heightMM();
}
int PythonQtWrapper_QPaintDevice::logicalDpiX(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->logicalDpiX();
}
int PythonQtWrapper_QPaintDevice::logicalDpiY(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->logicalDpiY();
}
int PythonQtWrapper_QPaintDevice::numColors(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->numColors();
}
QPaintEngine* PythonQtWrapper_QPaintDevice::paintEngine(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->paintEngine();
}
bool PythonQtWrapper_QPaintDevice::paintingActive(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->paintingActive();
}
int PythonQtWrapper_QPaintDevice::physicalDpiX(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->physicalDpiX();
}
int PythonQtWrapper_QPaintDevice::physicalDpiY(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->physicalDpiY();
}
int PythonQtWrapper_QPaintDevice::width(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->width();
}
int PythonQtWrapper_QPaintDevice::widthMM(QPaintDevice* theWrappedObject) const
{
return theWrappedObject->widthMM();
}