|
|
#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
|
|
|
|