QObjectWrapper internal class members

~QObjectWrapper()  

No documentation available

void _lua_connect(int sigindex, const Value &v)  

No documentation available

bool _lua_disconnect(int sigindex, const Value &v)  

No documentation available

void _lua_disconnect_all(int sigindex)  

No documentation available

void _lua_disconnect_all()  

No documentation available

typedef Ref<const QObjectWrapper, QObjectWrapper> const_ptr  

Shortcut for Ref smart pointer class to QObjectWrapper type provided for convenience

static QObject * get_child(QObject &obj, const String &name)  

Find QObject child non-recursively

QObject & get_object()  

Get reference to wrapped qobject. Throw if the internal QPointer has become null.

State * get_state()  

Get reference to state

static Ref<QObjectWrapper> get_wrapper(State *st, QObject *obj)  

Create or find existing QObjectWrapper associated with given QObject. QObject will be deleted when wrapper is destroyed only if it flagged as deletable and has no more parent. Deletable flag is set on wrapper creation if QObject has a parent.

static Ref<QObjectWrapper> get_wrapper(State *st, QObject *obj, bool reparent, bool delete_)  

Same as get_wrapper() but specify if QObject parent change is allowed (default is true) and if QObject must be deleted when no references to wrapper remains and it has no parent (default is true if QObject had a parent on wrapper creation).

typedef Ref<QObjectWrapper, QObjectWrapper> ptr  

Shortcut for Ref smart pointer class to QObjectWrapper type provided for convenience

static String qobject_name(QObject &obj)  

Return object name, forge a decent one if empty

int qt_metacall(QMetaObject::Call c, int id, void **args)  

No documentation available

void set_delete(bool delete_)  

Specify if wrapped QObject must be deleted when no more refenrences to wrapper exists and it has no parent.

void set_reparent(bool reparent)  

Specify if wrapped QObject parent change is allowed

bool valid() const  

Check if wrapped qobject still exist

Valid XHTML 1.0 StrictGenerated by diaxen on Sat Mar 30 15:29:55 2013 using MkDoc