• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KParts

  • KParts
  • ScriptableExtension
  • Object
Public Member Functions | Public Attributes | List of all members
KParts::ScriptableExtension::Object Struct Reference
Script Value Types

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


The documentation for this struct was generated from the following file:
  • scriptableextension.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KParts

Skip menu "KParts"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal