##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
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