• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kparts
 

kparts

  • KParts
  • LiveConnectExtension
Public Types | Signals | Public Member Functions | Static Public Member Functions
KParts::LiveConnectExtension Class Reference

#include <browserextension.h>

Inherits TQObject.

List of all members.

Public Types

enum  Type {
  TypeVoid = 0, TypeBool, TypeFunction, TypeNumber,
  TypeObject, TypeString
}
typedef TQValueList< QPair
< Type, TQString > > 
ArgList

Signals

virtual void partEvent (const unsigned long objid, const TQString &event, const ArgList &args)

Public Member Functions

 LiveConnectExtension (KParts::ReadOnlyPart *parent, const char *name=0L)
virtual bool get (const unsigned long objid, const TQString &field, Type &type, unsigned long &retobjid, TQString &value)
virtual bool put (const unsigned long objid, const TQString &field, const TQString &value)
virtual bool call (const unsigned long objid, const TQString &func, const TQStringList &args, Type &type, unsigned long &retobjid, TQString &value)
virtual void unregister (const unsigned long objid)

Static Public Member Functions

static LiveConnectExtension * childObject (TQObject *obj)

Detailed Description

An extension class for LiveConnect, i.e\.

a call from JavaScript from a HTML page which embeds this part. A part can have an object hierarchie by using objid as a reference to an object.

Definition at line 792 of file browserextension.h.


Member Function Documentation

bool LiveConnectExtension::call ( const unsigned long  objid,
const TQString &  func,
const TQStringList &  args,
Type &  type,
unsigned long &  retobjid,
TQString &  value 
) [virtual]

calls a function of objid, return true on success

Definition at line 710 of file browserextension.cpp.

bool LiveConnectExtension::get ( const unsigned long  objid,
const TQString &  field,
Type &  type,
unsigned long &  retobjid,
TQString &  value 
) [virtual]

get a field value from objid, return true on success

Definition at line 702 of file browserextension.cpp.

virtual void KParts::LiveConnectExtension::partEvent ( const unsigned long  objid,
const TQString &  event,
const ArgList &  args 
) [virtual, signal]

notify an event from the part of object objid

bool LiveConnectExtension::put ( const unsigned long  objid,
const TQString &  field,
const TQString &  value 
) [virtual]

put a field value in objid, return true on success

Definition at line 706 of file browserextension.cpp.

void LiveConnectExtension::unregister ( const unsigned long  objid) [virtual]

notifies the part that there is no reference anymore to objid

Definition at line 714 of file browserextension.cpp.


The documentation for this class was generated from the following files:
  • browserextension.h
  • browserextension.cpp

kparts

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

kparts

Skip menu "kparts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kparts by doxygen 1.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |