kjsembed
qobject_binding.h
Go to the documentation of this file.
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,
119 };
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& );
230KJSEMBED_EXPORT KJS::JSObject *createQObject(KJS::ExecState *exec, QObject *value, KJSEmbed::ObjectBinding::Ownership owner = KJSEmbed::ObjectBinding::JSOwned);
Filters events for a QObject and forwards them to a JS handler.
Definition eventproxy.h:45
Definition object_binding.h:89
Definition qobject_binding.h:80
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 qobject_binding.h:195
bool implementsConstruct() const
Definition qobject_binding.h:200
Definition application.h:33
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.