##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
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