##// END OF EJS Templates
added experimental compacting to avoid generation of hundreds of files that all include the same stuff...
added experimental compacting to avoid generation of hundreds of files that all include the same stuff git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@128 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r92:f97ec94c87a9
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); }
void PythonQtWrapper_QCursor::static_QCursor_setPos(const QPoint& p)
{
(QCursor::setPos(p));
}
void PythonQtWrapper_QCursor::readFrom(QCursor* theWrappedObject, QDataStream& inS)
{
inS >> (*theWrappedObject);
}
QPoint PythonQtWrapper_QCursor::hotSpot(QCursor* theWrappedObject) const
{
return ( theWrappedObject->hotSpot());
}
void PythonQtWrapper_QCursor::writeTo(QCursor* theWrappedObject, QDataStream& outS)
{
outS << (*theWrappedObject);
}
QPixmap PythonQtWrapper_QCursor::pixmap(QCursor* theWrappedObject) const
{
return ( theWrappedObject->pixmap());
}
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));
}
Qt::CursorShape PythonQtWrapper_QCursor::shape(QCursor* theWrappedObject) const
{
return ( theWrappedObject->shape());
}
const QBitmap* PythonQtWrapper_QCursor::bitmap(QCursor* theWrappedObject) const
{
return ( theWrappedObject->bitmap());
}
QPoint PythonQtWrapper_QCursor::static_QCursor_pos()
{
return (QCursor::pos());
}
const QBitmap* PythonQtWrapper_QCursor::mask(QCursor* theWrappedObject) const
{
return ( theWrappedObject->mask());
}