• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KHTML

KJavaAppletContext Class Reference

#include <kjavaappletcontext.h>

Inheritance diagram for KJavaAppletContext:

Inheritance graph
[legend]

List of all members.


Signals

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

Public Member Functions

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

Protected Slots

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

Protected Attributes

KJavaAppletServer * server

Static Protected Attributes

static int contextCount = 0

Detailed Description

Definition at line 45 of file kjavaappletcontext.h.


Constructor & Destructor Documentation

KJavaAppletContext::KJavaAppletContext (  ) 

Definition at line 52 of file kjavaappletcontext.cpp.

KJavaAppletContext::~KJavaAppletContext (  ) 

Definition at line 65 of file kjavaappletcontext.cpp.


Member Function Documentation

void KJavaAppletContext::appletLoaded (  )  [signal]

Signals the KHTML Part an applet is loaded.

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

Definition at line 264 of file kjavaappletcontext.cpp.

int KJavaAppletContext::contextId (  ) 

Returns the ID of this context.

Definition at line 72 of file kjavaappletcontext.cpp.

bool KJavaAppletContext::create ( KJavaApplet *  applet  ) 

Sends a message to create the applet.

Definition at line 90 of file kjavaappletcontext.cpp.

void KJavaAppletContext::derefObject ( QStringList &  args  ) 

Definition at line 269 of file kjavaappletcontext.cpp.

void KJavaAppletContext::destroy ( KJavaApplet *  applet  ) 

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.

KJavaAppletServer* KJavaAppletContext::getServer (  )  const [inline]

Definition at line 107 of file kjavaappletcontext.h.

void KJavaAppletContext::init ( KJavaApplet *  applet  ) 

Sends a message to initialize the applet.

Definition at line 116 of file kjavaappletcontext.cpp.

void KJavaAppletContext::javaProcessExited ( int   )  [protected, slot]

Definition at line 243 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.

bool KJavaAppletContext::putMember ( QStringList &  args  ) 

Definition at line 259 of file kjavaappletcontext.cpp.

void KJavaAppletContext::received ( const QString &  cmd,
const QStringList &  arg 
) [protected, slot]

Definition at line 136 of file kjavaappletcontext.cpp.

void KJavaAppletContext::registerApplet ( KJavaApplet *  applet  ) 

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 *  applet  ) 

Sends a message to start the applet.

Definition at line 121 of file kjavaappletcontext.cpp.

void KJavaAppletContext::stop ( KJavaApplet *  applet  ) 

Sends a message to stop the applet.

Definition at line 126 of file kjavaappletcontext.cpp.


Member Data Documentation

int KJavaAppletContext::contextCount = 0 [static, protected]

Definition at line 126 of file kjavaappletcontext.h.

KJavaAppletServer* KJavaAppletContext::server [protected]

Definition at line 129 of file kjavaappletcontext.h.


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

KHTML

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal