##// 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_QObject.h
72 lines | 3.0 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QOBJECT_H
#define PYTHONQTWRAPPER_QOBJECT_H
#include <qobject.h>
#include <QObject>
#include <PythonQt.h>
#include <QVarLengthArray>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
class PythonQtShell_QObject : public QObject
{
public:
PythonQtShell_QObject(QObject* parent = 0):QObject(parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QObject : public QObject
{ public:
inline void promoted_customEvent(QEvent* arg__1) { QObject::customEvent(arg__1); }
inline void promoted_childEvent(QChildEvent* arg__1) { QObject::childEvent(arg__1); }
inline void promoted_timerEvent(QTimerEvent* arg__1) { QObject::timerEvent(arg__1); }
inline bool promoted_eventFilter(QObject* arg__1, QEvent* arg__2) { return QObject::eventFilter(arg__1, arg__2); }
inline bool promoted_event(QEvent* arg__1) { return QObject::event(arg__1); }
};
class PythonQtWrapper_QObject : public QObject
{ Q_OBJECT
public:
public slots:
QObject* new_QObject(QObject* parent = 0);
void delete_QObject(QObject* obj) { delete obj; }
void customEvent(QObject* theWrappedObject, QEvent* arg__1);
void childEvent(QObject* theWrappedObject, QChildEvent* arg__1);
bool isWidgetType(QObject* theWrappedObject) const;
QThread* thread(QObject* theWrappedObject) const;
const QList<QObject* >& children(QObject* theWrappedObject) const;
bool signalsBlocked(QObject* theWrappedObject) const;
bool setProperty(QObject* theWrappedObject, const char* name, const QVariant& value);
void killTimer(QObject* theWrappedObject, int id);
void dumpObjectTree(QObject* theWrappedObject);
QVariant property(QObject* theWrappedObject, const char* name) const;
void timerEvent(QObject* theWrappedObject, QTimerEvent* arg__1);
void moveToThread(QObject* theWrappedObject, QThread* thread);
QObject* parent(QObject* theWrappedObject) const;
void setParent(QObject* theWrappedObject, QObject* arg__1);
void dumpObjectInfo(QObject* theWrappedObject);
bool blockSignals(QObject* theWrappedObject, bool b);
int startTimer(QObject* theWrappedObject, int interval);
bool eventFilter(QObject* theWrappedObject, QObject* arg__1, QEvent* arg__2);
bool event(QObject* theWrappedObject, QEvent* arg__1);
void installEventFilter(QObject* theWrappedObject, QObject* arg__1);
void removeEventFilter(QObject* theWrappedObject, QObject* arg__1);
QString objectName(QObject* theWrappedObject) const;
QList<QByteArray > dynamicPropertyNames(QObject* theWrappedObject) const;
void setObjectName(QObject* theWrappedObject, const QString& name);
bool inherits(QObject* theWrappedObject, const char* classname) const;
};
#endif // PYTHONQTWRAPPER_QOBJECT_H