class Kmms

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. More...

Definition#include <kmms/kmms.h>
InheritsKPanelApplet (kdeui) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods

Private Members


Detailed Description

* This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * *************************************************************************

 Kmms (const QString& configFile, Type t = Normal, int actions = 0, QWidget *parent = 0, const char *name = 0 )

Kmms

Construct a KPanelApplet just like any other widget.

Parameters:
configFileThe configFile handed over in the factory function.
TypeThe applet type().
actionsStandard RMB menu actions supported by the applet (see action() ).
parentThe pointer to the parent widget handed over in the factory function.
nameA Qt object name for your applet.

 ~Kmms ()

~Kmms

destructor

int  widthForHeight ( int height )

widthForHeight

[const]

Retrieve a suggested width for a given height.

Every applet should reimplement this function.

Depending on the panel orientation the height (horizontal panel) or the width (vertical panel) of the applets is fixed. The exact values of the fixed size component depend on the panel size.

On a horizontal panel the applet height is fixed, the panel will call widthForHeight(int height) with height equal to 'the fixed applet height' when laying out the applets.

The applet can now choose the other size component (width) based on the given height.

The width you return is granted.

Reimplemented from KPanelApplet.

int  heightForWidth ( int width)

heightForWidth

[const]

Every applet should reimplement this function.

Depending on the panel orientation the height (horizontal panel) or the width (vertical panel) of the applets is fixed. The exact values of the fixed size component depend on the panel size.

On a vertical panel the applet width is fixed, the panel will call heightForWidth(int width) with width equal to 'the fixed applet width' when laying out the applets.

The applet can now choose the other size component (height) based on the given width.

The height you return is granted.

Returns: A suggested height for a given width.

Reimplemented from KPanelApplet.

void  about ()

about

Is called when the user selects "About" from the applets RMB menu. Reimplement this function to launch a about dialog.

Note that this is called only when your applet supports the About action. See Action and KPanelApplet().

Reimplemented from KPanelApplet.

void  help ()

help

Is called when the user selects "Help" from the applets RMB menu. Reimplement this function to launch a manual or help page.

Note that this is called only when your applet supports the Help action. See Action and KPanelApplet().

Reimplemented from KPanelApplet.

void  preferences ()

preferences

Is called when the user selects "Preferences" from the applets RMB menu. Reimplement this function to launch a preferences dialog or kcontrol module.

Note that this is called only when your applet supports the preferences action. See Action and KPanelApplet().

Reimplemented from KPanelApplet.

void  resizeEvent ( QResizeEvent* )

resizeEvent

[protected: ]

KConfig * ksConfig

ksConfig

[private: ]

kmmsdock * mainView

mainView

[private: ]


Generated by: cunn@cun on Tue Apr 3 21:42:13 2001, using kdoc 2.0a49.