KParts
KParts::ScriptableExtension::Object Struct Reference
Objects are abstracted away as a pair of the ScriptableExtension the performs operations on it, and an implementation-specific Id, which gets passed to the extension's methods. More...
#include <scriptableextension.h>
Public Member Functions | |
| Object () | |
| Object (ScriptableExtension *o, quint64 id) | |
| bool | operator== (const Object &other) const |
Public Attributes | |
| quint64 | objId |
| ScriptableExtension * | owner |
Detailed Description
Objects are abstracted away as a pair of the ScriptableExtension the performs operations on it, and an implementation-specific Id, which gets passed to the extension's methods.
Objects are reference-counted, with the following protocol: 1) Return values from methods, rootObject(), enclosingObject(), and get() are already acquired by the producer, so the consumer should release them when done. 2) During a call, the caller guarantees that all the arguments will be live for the calls duration, but the callee must acquire them if it stores it for longer than that.
- See also:
- acquire, acquireValue, release, releaseValue
Definition at line 91 of file scriptableextension.h.
Constructor & Destructor Documentation
| KParts::ScriptableExtension::Object::Object | ( | ) | [inline] |
Definition at line 95 of file scriptableextension.h.
| KParts::ScriptableExtension::Object::Object | ( | ScriptableExtension * | o, |
| quint64 | id | ||
| ) | [inline] |
Definition at line 96 of file scriptableextension.h.
Member Function Documentation
Definition at line 97 of file scriptableextension.h.
Member Data Documentation
Definition at line 93 of file scriptableextension.h.
Definition at line 92 of file scriptableextension.h.
The documentation for this struct was generated from the following file:
KDE 4.6 API Reference