KHTML
KJavaAppletContext Class Reference
#include <kjavaappletcontext.h>
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 | ( | ) |
bool KJavaAppletContext::create | ( | KJavaApplet * | applet | ) |
void KJavaAppletContext::derefObject | ( | QStringList & | args | ) |
Definition at line 269 of file kjavaappletcontext.cpp.
void KJavaAppletContext::destroy | ( | KJavaApplet * | applet | ) |
bool KJavaAppletContext::getMember | ( | QStringList & | args, | |
QStringList & | ret_args | |||
) |
KJavaAppletServer* KJavaAppletContext::getServer | ( | ) | const [inline] |
Definition at line 107 of file kjavaappletcontext.h.
void KJavaAppletContext::init | ( | KJavaApplet * | applet | ) |
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 | ) |
void KJavaAppletContext::setContextId | ( | int | id | ) |
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 | ) |
void KJavaAppletContext::stop | ( | KJavaApplet * | applet | ) |
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: