PythonQtWrapper_QHoverEvent.h
31 lines
| 834 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QHOVEREVENT_H | ||
#define PYTHONQTWRAPPER_QHOVEREVENT_H | ||||
#include <qevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qpoint.h> | ||||
florianlink
|
r24 | class PythonQtShell_QHoverEvent : public QHoverEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos):QHoverEvent(type, pos, oldPos),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QHoverEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QHoverEvent* new_QHoverEvent(QEvent::Type type, const QPoint& pos, const QPoint& oldPos); | ||||
void delete_QHoverEvent(QHoverEvent* obj) { delete obj; } | ||||
const QPoint& oldPos(QHoverEvent* theWrappedObject) const; | ||||
const QPoint& pos(QHoverEvent* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QHOVEREVENT_H | ||||