##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QChildEvent.h
33 lines | 879 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QCHILDEVENT_H
#define PYTHONQTWRAPPER_QCHILDEVENT_H
#include <qcoreevent.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qobject.h>
class PythonQtShell_QChildEvent : public QChildEvent
{
public:
PythonQtShell_QChildEvent(QEvent::Type type, QObject* child):QChildEvent(type, child),_wrapper(NULL) {};
PythonQtInstanceWrapper* _wrapper;
};
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; }
bool added(QChildEvent* theWrappedObject) const;
QObject* child(QChildEvent* theWrappedObject) const;
bool removed(QChildEvent* theWrappedObject) const;
bool polished(QChildEvent* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QCHILDEVENT_H