PythonQtWrapper_QChildEvent.h
33 lines
| 879 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QCHILDEVENT_H | ||
#define PYTHONQTWRAPPER_QCHILDEVENT_H | ||||
#include <qcoreevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qobject.h> | ||||
florianlink
|
r24 | class PythonQtShell_QChildEvent : public QChildEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QChildEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QChildEvent* new_QChildEvent(QEvent::Type type, QObject* child); | ||||
void delete_QChildEvent(QChildEvent* obj) { delete obj; } | ||||
florianlink
|
r28 | bool added(QChildEvent* theWrappedObject) const; | ||
florianlink
|
r24 | QObject* child(QChildEvent* theWrappedObject) const; | ||
florianlink
|
r13 | bool removed(QChildEvent* theWrappedObject) const; | ||
florianlink
|
r28 | bool polished(QChildEvent* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QCHILDEVENT_H | ||||