KJavaAppletContext Class Reference

Inheritance diagram for KJavaAppletContext:

QObject List of all members.

Detailed Description

Definition at line 45 of file kjavaappletcontext.h.


Signals

void showStatus (const QString &txt)
void showDocument (const QString &url, const QString &target)
void appletLoaded ()

Public Member Functions

 KJavaAppletContext ()
 ~KJavaAppletContext ()
int contextId ()
void setContextId (int id)
void registerApplet (KJavaApplet *)
bool create (KJavaApplet *)
void destroy (KJavaApplet *)
void init (KJavaApplet *)
void start (KJavaApplet *)
void stop (KJavaApplet *)
void processCmd (QString cmd, QStringList args)
bool getMember (QStringList &args, QStringList &ret_args)
bool putMember (QStringList &args)
bool callMember (QStringList &args, QStringList &ret_args)
void derefObject (QStringList &args)
KJavaAppletServer * getServer () const

Protected Slots

void received (const QString &cmd, const QStringList &arg)
void javaProcessExited (int)

Protected Attributes

KJavaAppletServer * server

Static Protected Attributes

static int contextCount = 0

Member Function Documentation

void KJavaAppletContext::appletLoaded (   )  [signal]
 

Signals the KHTML Part an applet is loaded.

int KJavaAppletContext::contextId (   ) 
 

Returns the ID of this context.

Definition at line 72 of file kjavaappletcontext.cpp.

bool KJavaAppletContext::create (  KJavaApplet *   ) 
 

Sends a message to create the applet.

Definition at line 90 of file kjavaappletcontext.cpp.

void KJavaAppletContext::destroy (  KJavaApplet *   ) 
 

Sends a message to destroy the applet.

Definition at line 108 of file kjavaappletcontext.cpp.

bool KJavaAppletContext::getMember (  QStringList &  args,
QStringList &  ret_args
) 
 

LiveConnect functions.

Definition at line 254 of file kjavaappletcontext.cpp.

void KJavaAppletContext::init (  KJavaApplet *   ) 
 

Sends a message to initialize the applet.

Definition at line 116 of file kjavaappletcontext.cpp.

void KJavaAppletContext::processCmd (  QString  cmd,
QStringList  args
) 
 

use this for applet call backs, the AppletServer calls this directly.

Definition at line 131 of file kjavaappletcontext.cpp.

void KJavaAppletContext::registerApplet (  KJavaApplet *   ) 
 

registers applet

Definition at line 82 of file kjavaappletcontext.cpp.

void KJavaAppletContext::setContextId (  int  id  ) 
 

Sets the ID of this context.

Definition at line 77 of file kjavaappletcontext.cpp.

void KJavaAppletContext::showDocument (  const QString &  url,
const QString &  target
)  [signal]
 

Signals the KHTML Part to show a url in a given target.

void KJavaAppletContext::showStatus (  const QString &  txt  )  [signal]
 

Signals the KHMTL Part to show this as the status message.

void KJavaAppletContext::start (  KJavaApplet *   ) 
 

Sends a message to start the applet.

Definition at line 121 of file kjavaappletcontext.cpp.

void KJavaAppletContext::stop (  KJavaApplet *   ) 
 

Sends a message to stop the applet.

Definition at line 126 of file kjavaappletcontext.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys