Add some vaguely useful entries on the desktop menu

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667407
This commit is contained in:
Matt Williams 2007-05-22 18:29:12 +00:00
parent 90cf45ff02
commit 4f6c36f3af

View File

@ -29,6 +29,11 @@
namespace Plasma
{
/**
* @short the base Applet class
*
*
*/
class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
{
Q_OBJECT
@ -36,6 +41,13 @@ class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
public:
typedef QList<Applet*> List;
/**
* @arg parent the QGraphicsItem this applet is parented to
* @arg servideId the name of the .desktop file containing the
* information about the widget
* @arg appletId a unique id used to differentiate between multiple
* instances of the same Applet type
*/
Applet( QGraphicsItem* parent,
const QString& serviceId,
int appletId );