KParts
#include <scriptableextension_p.h>

Public Slots | |
| void | liveConnectEvent (const unsigned long, const QString &, const KParts::LiveConnectExtension::ArgList &) | 
Public Member Functions | |
| ScriptableLiveConnectExtension (QObject *parent, LiveConnectExtension *old) | |
| void | acquire (quint64 objid) | 
| QVariant | callFunctionReference (ScriptableExtension *callerPrincipal, quint64 objId, const QString &f, const ArgList &args) | 
| QVariant | get (ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName) | 
| bool | hasProperty (ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName) | 
| bool | put (ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName, const QVariant &value) | 
| void | release (quint64 objid) | 
| QVariant | rootObject () | 
  Public Member Functions inherited from KParts::ScriptableExtension | |
| virtual | ~ScriptableExtension () | 
| void | setHost (ScriptableExtension *host) | 
| ScriptableExtension * | host () const | 
| QVariant | enclosingObject () | 
| virtual QVariant | callAsFunction (ScriptableExtension *callerPrincipal, quint64 objId, const ArgList &args) | 
| virtual QVariant | callAsConstructor (ScriptableExtension *callerPrincipal, quint64 objId, const ArgList &args) | 
| virtual bool | removeProperty (ScriptableExtension *callerPrincipal, quint64 objId, const QString &propName) | 
| virtual bool | enumerateProperties (ScriptableExtension *callerPrincipal, quint64 objId, QStringList *result) | 
| virtual bool | setException (ScriptableExtension *callerPrincipal, const QString &message) | 
| virtual QVariant | evaluateScript (ScriptableExtension *callerPrincipal, quint64 contextObjectId, const QString &code, ScriptLanguage language=ECMAScript) | 
| virtual bool | isScriptLanguageSupported (ScriptLanguage lang) const | 
  Public Member Functions inherited from QObject | |
| QObject (QObject *parent) | |
| QObject (QObject *parent, const char *name) | |
| virtual | ~QObject () | 
| bool | blockSignals (bool block) | 
| QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const | 
| const QObjectList & | children () const | 
| const char * | className () const | 
| bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const | 
| void | deleteLater () | 
| void | destroyed (QObject *obj) | 
| bool | disconnect (const QObject *receiver, const char *method) | 
| bool | disconnect (const char *signal, const QObject *receiver, const char *method) | 
| void | dumpObjectInfo () | 
| void | dumpObjectTree () | 
| QList< QByteArray > | dynamicPropertyNames () const | 
| virtual bool | event (QEvent *e) | 
| virtual bool | eventFilter (QObject *watched, QEvent *event) | 
| T | findChild (const QString &name) const | 
| QList< T > | findChildren (const QRegExp ®Exp) const | 
| QList< T > | findChildren (const QString &name) const | 
| bool | inherits (const char *className) const | 
| void | insertChild (QObject *object) | 
| void | installEventFilter (QObject *filterObj) | 
| bool | isA (const char *className) const | 
| bool | isWidgetType () const | 
| void | killTimer (int id) | 
| virtual const QMetaObject * | metaObject () const | 
| void | moveToThread (QThread *targetThread) | 
| const char * | name () const | 
| const char * | name (const char *defaultName) const | 
| QString | objectName () const | 
| QObject * | parent () const | 
| QVariant | property (const char *name) const | 
| void | removeChild (QObject *object) | 
| void | removeEventFilter (QObject *obj) | 
| void | setName (const char *name) | 
| void | setObjectName (const QString &name) | 
| void | setParent (QObject *parent) | 
| bool | setProperty (const char *name, const QVariant &value) | 
| bool | signalsBlocked () const | 
| int | startTimer (int interval) | 
| QThread * | thread () const | 
Additional Inherited Members | |
  Public Types inherited from KParts::ScriptableExtension | |
| enum | ScriptLanguage { ECMAScript, EnumLimit = 0xFFFF } | 
| typedef QList< QVariant > | ArgList | 
  Static Public Member Functions inherited from KParts::ScriptableExtension | |
| static ScriptableExtension * | childObject (QObject *obj) | 
| static ScriptableExtension * | adapterFromLiveConnect (QObject *parentObj, LiveConnectExtension *oldApi) | 
| static QVariant | acquireValue (const QVariant &v) | 
| static QVariant | releaseValue (const QVariant &v) | 
  Static Public Member Functions inherited from QObject | |
| bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) | 
| bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) | 
| bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) | 
| bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) | 
| QString | tr (const char *sourceText, const char *disambiguation, int n) | 
| QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) | 
  Protected Member Functions inherited from KParts::ScriptableExtension | |
| ScriptableExtension (QObject *parent) | |
  Protected Member Functions inherited from QObject | |
| bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) | 
| virtual void | childEvent (QChildEvent *event) | 
| virtual void | connectNotify (const char *signal) | 
| virtual void | customEvent (QEvent *event) | 
| virtual void | disconnectNotify (const char *signal) | 
| int | receivers (const char *signal) const | 
| QObject * | sender () const | 
| int | senderSignalIndex () const | 
| virtual void | timerEvent (QTimerEvent *event) | 
  Static Protected Member Functions inherited from QObject | |
| QByteArray | normalizeSignalSlot (const char *signalSlot) | 
  Properties inherited from QObject | |
| objectName | |
Detailed Description
Definition at line 28 of file scriptableextension_p.h.
Constructor & Destructor Documentation
| KParts::ScriptableLiveConnectExtension::ScriptableLiveConnectExtension | ( | QObject * | parent, | 
| LiveConnectExtension * | old | ||
| ) | 
Definition at line 227 of file scriptableextension.cpp.
Member Function Documentation
      
  | 
  virtual | 
increases reference count of object objId 
Reimplemented from KParts::ScriptableExtension.
Definition at line 369 of file scriptableextension.cpp.
      
  | 
  virtual | 
Try to use a function reference to field f of object  as a function. 
Reimplemented from KParts::ScriptableExtension.
Definition at line 252 of file scriptableextension.cpp.
      
  | 
  virtual | 
Tries to get field propName from object objId associated with 'this'. 
Reimplemented from KParts::ScriptableExtension.
Definition at line 274 of file scriptableextension.cpp.
      
  | 
  virtual | 
Returns true if the object objId associated with 'this' has the property propName. 
Reimplemented from KParts::ScriptableExtension.
Definition at line 242 of file scriptableextension.cpp.
      
  | 
  slot | 
Definition at line 384 of file scriptableextension.cpp.
      
  | 
  virtual | 
Tries to set the field propName from object objId associated with 'this' to value. 
Returns true on success
Reimplemented from KParts::ScriptableExtension.
Definition at line 288 of file scriptableextension.cpp.
      
  | 
  virtual | 
decreases reference count of object objId 
Reimplemented from KParts::ScriptableExtension.
Definition at line 374 of file scriptableextension.cpp.
      
  | 
  virtual | 
Return the root scriptable object of this KPart.
For example for an HTML part, it would represent a Window object. May be undefined or null
Reimplemented from KParts::ScriptableExtension.
Definition at line 236 of file scriptableextension.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference
 Public Member Functions inherited from