PythonQtWrapper_QDragResponseEvent.h
29 lines
| 739 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H | ||
#define PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H | ||||
#include <qevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QDragResponseEvent : public QDragResponseEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QDragResponseEvent(bool accepted):QDragResponseEvent(accepted),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QDragResponseEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QDragResponseEvent* new_QDragResponseEvent(bool accepted); | ||||
void delete_QDragResponseEvent(QDragResponseEvent* obj) { delete obj; } | ||||
bool dragAccepted(QDragResponseEvent* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QDRAGRESPONSEEVENT_H | ||||