KHTML
kjavaapplet.cpp
Go to the documentation of this file.
150 kDebug(6100) << "KJavaApplet, id = " << id << ", ::resizeAppletWidget to " << width << ", " << height;
156 sl.push_back( QString( "this.setAttribute('WIDTH',%1);this.setAttribute('HEIGHT',%2)" ).arg( width ).arg( height ) );
QString i18n(const char *text)
void setWindowName(const QString &title)
Set the window title for swallowing.
Definition: kjavaapplet.cpp:165
Definition: kjavaapplet.h:58
void resizeAppletWidget(int width, int height)
Interface for applets to resize themselves.
Definition: kjavaapplet.cpp:148
void push_back(const T &value)
QString & appletName()
Get the name the applet should be called in its context.
Definition: kjavaapplet.cpp:175
QString & parameter(const QString &name)
Look up the parameter value for the given Parameter.
Definition: kjavaapplet.cpp:93
QString & appletClass()
Get the name of the Class file the applet should run.
Definition: kjavaapplet.cpp:88
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool isCreated()
Returns status of applet- whether it's been created or not.
Definition: kjavaapplet.cpp:72
void setAppletContext(KJavaAppletContext *_context)
Set the applet context'.
Definition: kjavaapplet.cpp:77
QString & getWindowName()
Get the window title this applet should use.
Definition: kjavaapplet.cpp:170
Definition: kjavaappletwidget.h:82
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void start(KJavaApplet *)
Sends a message to start the applet.
Definition: kjavaappletcontext.cpp:121
const char * name() const
QString number(int n, int base)
void setAppletName(const QString &name)
Set the name the applet should be called in its context.
Definition: kjavaapplet.cpp:160
void destroy(KJavaApplet *)
Sends a message to destroy the applet.
Definition: kjavaappletcontext.cpp:108
KJavaApplet(KJavaAppletWidget *_parent, KJavaAppletContext *_context=0)
Definition: kjavaapplet.cpp:49
Definition: kjavaapplet.h:63
QString & archives()
Get the list of Archives that should be searched for class files and other resources.
Definition: kjavaapplet.cpp:143
void create()
Send message to AppletServer to create this applet's frame to be swallowed and download the applet cl...
Definition: kjavaapplet.cpp:180
Definition: kjavaapplet.h:62
QString & baseURL()
get the Base URL of the document embedding the applet
Definition: kjavaapplet.cpp:113
KGuiItem ok()
void init(KJavaApplet *)
Sends a message to initialize the applet.
Definition: kjavaappletcontext.cpp:116
void setBaseURL(const QString &base)
Set the URL of the document embedding the applet.
Definition: kjavaapplet.cpp:108
Definition: kjavaapplet.h:64
void init()
Send message to AppletServer to Initialize and show this applet.
Definition: kjavaapplet.cpp:187
void stateChange(const int newState)
called from the protocol engine changes the status according to the one on the java side...
Definition: kjavaapplet.cpp:212
void processCmd(QString cmd, QStringList args)
use this for applet call backs, the AppletServer calls this directly.
Definition: kjavaappletcontext.cpp:131
iterator insert(const Key &key, const T &value)
void setAppletClass(const QString &clazzName)
Specify the name of the class file to run.
Definition: kjavaapplet.cpp:83
Definition: kjavaappletcontext.h:45
Definition: kjavaapplet.h:60
void setArchives(const QString &_archives)
Set the list of archives at the Applet's codebase to search in for class files and other resources...
Definition: kjavaapplet.cpp:138
bool create(KJavaApplet *)
Sends a message to create the applet.
Definition: kjavaappletcontext.cpp:90
void setCodeBase(const QString &codeBase)
Set the codebase of the applet classes.
Definition: kjavaapplet.cpp:118
void setParameter(const QString &name, const QString &value)
Specify a parameter to be passed to the applet.
Definition: kjavaapplet.cpp:98
QMap< QString, QString > & getParams()
Get a reference to the Parameters and their values.
Definition: kjavaapplet.cpp:103
Definition: kjavaapplet.h:59
Definition: kjavaapplet.h:61
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.