##// 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_QPrintEngine.cpp
34 lines | 981 B | text/x-c | CppLexer
#include "PythonQtWrapper_QPrintEngine.h"
#include <QVariant>
bool PythonQtWrapper_QPrintEngine::abort(QPrintEngine* theWrappedObject)
{
return theWrappedObject->abort();
}
int PythonQtWrapper_QPrintEngine::metric(QPrintEngine* theWrappedObject, QPaintDevice::PaintDeviceMetric arg__1) const
{
return theWrappedObject->metric(arg__1);
}
bool PythonQtWrapper_QPrintEngine::newPage(QPrintEngine* theWrappedObject)
{
return theWrappedObject->newPage();
}
QPrinter::PrinterState PythonQtWrapper_QPrintEngine::printerState(QPrintEngine* theWrappedObject) const
{
return theWrappedObject->printerState();
}
QVariant PythonQtWrapper_QPrintEngine::property(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key) const
{
return theWrappedObject->property(key);
}
void PythonQtWrapper_QPrintEngine::setProperty(QPrintEngine* theWrappedObject, QPrintEngine::PrintEnginePropertyKey key, const QVariant& value)
{
theWrappedObject->setProperty(key, value);
}