KJavaAppletWidget Class Reference
Inheritance diagram for KJavaAppletWidget:

Public Member Functions | |
KJavaAppletWidget (QWidget *parent=0, const char *name=0) | |
~KJavaAppletWidget () | |
KJavaApplet * | applet () |
void | showApplet () |
QSize | sizeHint () const |
void | resize (int, int) |
Protected Slots | |
void | setWindow (WId w) |
Protected Member Functions | |
void | showEvent (QShowEvent *) |
Static Protected Attributes | |
static int | appletCount = 0 |
Detailed Description
Definition at line 78 of file kjavaappletwidget.h.
Member Function Documentation
|
Returns a pointer to the KJavaApplet. Use this to configure the applet's parameters. You can also use it to start and stop the Applet. Definition at line 91 of file kjavaappletwidget.h. Referenced by AppletParameterDialog::AppletParameterDialog(), KJavaAppletViewer::openURL(), KJavaAppletViewerBrowserExtension::restoreState(), showEvent(), and AppletParameterDialog::slotClose(). |
|
Tells the AppletServer to create, initialize, and show the Applet.
Definition at line 67 of file kjavaappletwidget.cpp. References KJavaApplet::create(), KWinModule::doNotManage(), KJavaApplet::isCreated(), and setWindow(). Referenced by KJavaAppletViewer::openURL(), KJavaAppletViewerBrowserExtension::restoreState(), and showEvent(). |
|
This slot is called by KWin when new windows are added. We check to see if the window has the title we set. If so we embed it. Definition at line 79 of file kjavaappletwidget.cpp. References QXEmbed::embed(), endl(), kdDebug(), QWidget::setFocus(), KWin::windowInfo(), and KWin::WindowInfo(). Referenced by showApplet(). |
The documentation for this class was generated from the following files: