PythonQtWrapper_QInputEvent.h
29 lines
| 779 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QINPUTEVENT_H | ||
#define PYTHONQTWRAPPER_QINPUTEVENT_H | ||||
#include <qevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QInputEvent : public QInputEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier):QInputEvent(type, modifiers),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QInputEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QInputEvent* new_QInputEvent(QEvent::Type type, Qt::KeyboardModifiers modifiers = Qt::NoModifier); | ||||
void delete_QInputEvent(QInputEvent* obj) { delete obj; } | ||||
Qt::KeyboardModifiers modifiers(QInputEvent* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QINPUTEVENT_H | ||||