##// 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_QClipboard.cpp
89 lines | 2.5 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QClipboard.h"
#include <QImage>
#include <QPixmap>
#include <QVariant>
#include <qbytearray.h>
#include <qclipboard.h>
#include <qcoreevent.h>
#include <qimage.h>
#include <qlist.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qpixmap.h>
void PythonQtWrapper_QClipboard::clear(QClipboard* theWrappedObject, QClipboard::Mode mode)
{
theWrappedObject->clear(mode);
}
QImage PythonQtWrapper_QClipboard::image(QClipboard* theWrappedObject, QClipboard::Mode mode) const
{
return theWrappedObject->image(mode);
}
const QMimeData* PythonQtWrapper_QClipboard::mimeData(QClipboard* theWrappedObject, QClipboard::Mode mode) const
{
return theWrappedObject->mimeData(mode);
}
bool PythonQtWrapper_QClipboard::ownsClipboard(QClipboard* theWrappedObject) const
{
return theWrappedObject->ownsClipboard();
}
bool PythonQtWrapper_QClipboard::ownsFindBuffer(QClipboard* theWrappedObject) const
{
return theWrappedObject->ownsFindBuffer();
}
bool PythonQtWrapper_QClipboard::ownsSelection(QClipboard* theWrappedObject) const
{
return theWrappedObject->ownsSelection();
}
QPixmap PythonQtWrapper_QClipboard::pixmap(QClipboard* theWrappedObject, QClipboard::Mode mode) const
{
return theWrappedObject->pixmap(mode);
}
void PythonQtWrapper_QClipboard::setImage(QClipboard* theWrappedObject, const QImage& arg__1, QClipboard::Mode mode)
{
theWrappedObject->setImage(arg__1, mode);
}
void PythonQtWrapper_QClipboard::setMimeData(QClipboard* theWrappedObject, QMimeData* data, QClipboard::Mode mode)
{
theWrappedObject->setMimeData(data, mode);
}
void PythonQtWrapper_QClipboard::setPixmap(QClipboard* theWrappedObject, const QPixmap& arg__1, QClipboard::Mode mode)
{
theWrappedObject->setPixmap(arg__1, mode);
}
void PythonQtWrapper_QClipboard::setText(QClipboard* theWrappedObject, const QString& arg__1, QClipboard::Mode mode)
{
theWrappedObject->setText(arg__1, mode);
}
bool PythonQtWrapper_QClipboard::supportsFindBuffer(QClipboard* theWrappedObject) const
{
return theWrappedObject->supportsFindBuffer();
}
bool PythonQtWrapper_QClipboard::supportsSelection(QClipboard* theWrappedObject) const
{
return theWrappedObject->supportsSelection();
}
QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QClipboard::Mode mode) const
{
return theWrappedObject->text(mode);
}
QString PythonQtWrapper_QClipboard::text(QClipboard* theWrappedObject, QString& subtype, QClipboard::Mode mode) const
{
return theWrappedObject->text(subtype, mode);
}