Add some vaguely useful entries on the desktop menu
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=667407
This commit is contained in:
parent
90cf45ff02
commit
4f6c36f3af
12
applet.h
12
applet.h
|
@ -29,6 +29,11 @@
|
||||||
namespace Plasma
|
namespace Plasma
|
||||||
{
|
{
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @short the base Applet class
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
|
class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
@ -36,6 +41,13 @@ class PLASMA_EXPORT Applet : public QWidget, public QGraphicsItemGroup
|
||||||
public:
|
public:
|
||||||
typedef QList<Applet*> List;
|
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,
|
Applet( QGraphicsItem* parent,
|
||||||
const QString& serviceId,
|
const QString& serviceId,
|
||||||
int appletId );
|
int appletId );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user