#ifndef PYTHONQTWRAPPER_QHOVEREVENT_H #define PYTHONQTWRAPPER_QHOVEREVENT_H #include #include #include #include #include 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; }; 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