##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QCursor.cpp
88 lines | 2.1 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QCursor.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QPixmap>
#include <QVariant>
#include <qbitmap.h>
#include <qcursor.h>
#include <qdatastream.h>
#include <qpixmap.h>
#include <qpoint.h>
QCursor* PythonQtWrapper_QCursor::new_QCursor()
{
return new QCursor(); }
QCursor* PythonQtWrapper_QCursor::new_QCursor(Qt::CursorShape shape)
{
return new QCursor(shape); }
QCursor* PythonQtWrapper_QCursor::new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX, int hotY)
{
return new QCursor(bitmap, mask, hotX, hotY); }
QCursor* PythonQtWrapper_QCursor::new_QCursor(const QCursor& cursor)
{
return new QCursor(cursor); }
QCursor* PythonQtWrapper_QCursor::new_QCursor(const QPixmap& pixmap, int hotX, int hotY)
{
return new QCursor(pixmap, hotX, hotY); }
QPoint PythonQtWrapper_QCursor::hotSpot(QCursor* theWrappedObject) const
{
return theWrappedObject->hotSpot();
}
const QBitmap* PythonQtWrapper_QCursor::mask(QCursor* theWrappedObject) const
{
return theWrappedObject->mask();
}
void PythonQtWrapper_QCursor::readFrom(QCursor* theWrappedObject, QDataStream& inS)
{
inS >> (*theWrappedObject);
}
void PythonQtWrapper_QCursor::setShape(QCursor* theWrappedObject, Qt::CursorShape newShape)
{
theWrappedObject->setShape(newShape);
}
void PythonQtWrapper_QCursor::static_QCursor_setPos(int x, int y)
{
QCursor::setPos(x, y);
}
void PythonQtWrapper_QCursor::static_QCursor_setPos(const QPoint& p)
{
QCursor::setPos(p);
}
Qt::CursorShape PythonQtWrapper_QCursor::shape(QCursor* theWrappedObject) const
{
return theWrappedObject->shape();
}
QPixmap PythonQtWrapper_QCursor::pixmap(QCursor* theWrappedObject) const
{
return theWrappedObject->pixmap();
}
const QBitmap* PythonQtWrapper_QCursor::bitmap(QCursor* theWrappedObject) const
{
return theWrappedObject->bitmap();
}
void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS)
{
outS << (*theWrappedObject);
}
QPoint PythonQtWrapper_QCursor::static_QCursor_pos()
{
return QCursor::pos();
}