kjsembed
qobject_binding.h
Go to the documentation of this file.
50 KJSEmbed::QObjectBinding *imp = KJSEmbed::extractBindingImp<KJSEmbed::QObjectBinding>(exec, self ); \
63 KJS::throwError(exec, KJS::ReferenceError, QString("QO: The internal object died %1:%2.").arg(__FILE__).arg(__LINE__));\
97 ScriptableSlots = 0x01,
98 NonScriptableSlots = 0x02,
99 PrivateSlots = 0x04,
100 ProtectedSlots = 0x08,
101 PublicSlots = 0x10,
102 AllSlots = ScriptableSlots|NonScriptableSlots|PrivateSlots|ProtectedSlots|PublicSlots,
104 ScriptableSignals = 0x100,
105 NonScriptableSignals = 0x200,
106 PrivateSignals = 0x400,
107 ProtectedSignals = 0x800,
108 PublicSignals = 0x1000,
109 AllSignals = ScriptableSignals|NonScriptableSignals|PrivateSignals|ProtectedSignals|PublicSignals,
111 ScriptableProperties = 0x10000,
112 NonScriptableProperties = 0x20000,
113 AllProperties = ScriptableProperties|NonScriptableProperties,
115 GetParentObject = 0x100000,
116 SetParentObject = 0x200000,
117 ChildObjects = 0x400000,
118 AllObjects = GetParentObject|SetParentObject|ChildObjects
136 void put(KJS::ExecState *exec, const KJS::Identifier &propertyName, KJS::JSValue *value, int attr=KJS::None);
147 bool getOwnPropertySlot( KJS::ExecState *exec, const KJS::Identifier &propertyName, KJS::PropertySlot &slot );
152 static KJS::JSValue *propertyGetter( KJS::ExecState *exec, KJS::JSObject*, const KJS::Identifier& name, const KJS::PropertySlot& );
198 KJS::JSValue *callAsFunction( KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args );
230 KJSEMBED_EXPORT KJS::JSObject *createQObject(KJS::ExecState *exec, QObject *value, KJSEmbed::ObjectBinding::Ownership owner = KJSEmbed::ObjectBinding::JSOwned);
Definition: qobject_binding.h:79
Definition: variant_binding.cpp:130
Definition: object_binding.h:88
KJSEMBED_EXPORT KJS::JSObject * createQObject(KJS::ExecState *exec, QObject *value, KJSEmbed::ObjectBinding::Ownership owner=KJSEmbed::ObjectBinding::JSOwned)
Returns a binding object for the specified QObject.
Definition: qobject_binding.cpp:735
bool implementsConstruct() const
Definition: qobject_binding.h:200
Definition: qobject_binding.h:194
Access
Enumeration of access-flags that could be OR-combined to define what parts of the QObject should be p...
Definition: qobject_binding.h:94
Definition: variant_binding.cpp:130
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.