##// 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_QCursor.h
38 lines | 1.3 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QCURSOR_H
#define PYTHONQTWRAPPER_QCURSOR_H
#include <qcursor.h>
#include <QObject>
#include <QPixmap>
#include <QVariant>
#include <qbitmap.h>
#include <qcursor.h>
#include <qdatastream.h>
#include <qpixmap.h>
#include <qpoint.h>
class PythonQtWrapper_QCursor : public QObject
{ Q_OBJECT
public:
public slots:
QCursor* new_QCursor();
QCursor* new_QCursor(Qt::CursorShape shape);
QCursor* new_QCursor(const QBitmap& bitmap, const QBitmap& mask, int hotX = -1, int hotY = -1);
QCursor* new_QCursor(const QCursor& cursor);
QCursor* new_QCursor(const QPixmap& pixmap, int hotX = -1, int hotY = -1);
void delete_QCursor(QCursor* obj) { delete obj; }
const QBitmap* bitmap(QCursor* theWrappedObject) const;
QPoint hotSpot(QCursor* theWrappedObject) const;
const QBitmap* mask(QCursor* theWrappedObject) const;
void writeTo(QCursor* theWrappedObject, QDataStream& outS);
void readFrom(QCursor* theWrappedObject, QDataStream& inS);
QPixmap pixmap(QCursor* theWrappedObject) const;
QPoint static_QCursor_pos();
void static_QCursor_setPos(const QPoint& p);
void static_QCursor_setPos(int x, int y);
void setShape(QCursor* theWrappedObject, Qt::CursorShape newShape);
Qt::CursorShape shape(QCursor* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QCURSOR_H