##// 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_QDropEvent.h
30 lines | 1.2 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QDROPEVENT_H
#define PYTHONQTWRAPPER_QDROPEVENT_H
#include <qevent.h>
#include <QObject>
#include <QVariant>
#include <qmimedata.h>
#include <qpoint.h>
#include <qwidget.h>
class PythonQtWrapper_QDropEvent : public QObject
{ Q_OBJECT
public:
public slots:
QDropEvent* new_QDropEvent(const QPoint& pos, Qt::DropActions actions, const QMimeData* data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, QEvent::Type type = QEvent::Drop);
void delete_QDropEvent(QDropEvent* obj) { delete obj; }
void acceptProposedAction(QDropEvent* theWrappedObject);
Qt::DropAction dropAction(QDropEvent* theWrappedObject) const;
Qt::KeyboardModifiers keyboardModifiers(QDropEvent* theWrappedObject) const;
const QMimeData* mimeData(QDropEvent* theWrappedObject) const;
Qt::MouseButtons mouseButtons(QDropEvent* theWrappedObject) const;
const QPoint& pos(QDropEvent* theWrappedObject) const;
Qt::DropActions possibleActions(QDropEvent* theWrappedObject) const;
Qt::DropAction proposedAction(QDropEvent* theWrappedObject) const;
void setDropAction(QDropEvent* theWrappedObject, Qt::DropAction action);
QWidget* source(QDropEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QDROPEVENT_H