From 4f6c36f3af241173252d5b94aa54a2522049cf80 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Tue, 22 May 2007 18:29:12 +0000 Subject: [PATCH] Add some vaguely useful entries on the desktop menu svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667407 --- applet.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/applet.h b/applet.h index 064a7fd46..5517e4621 100644 --- a/applet.h +++ b/applet.h @@ -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 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 );