make the applet ctor public again.

why? because older g++s are teh suck, and mac os is stuck with it. it doesn't get that inner classes also get the friend status of the outer class. blargl

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806698
This commit is contained in:
Aaron J. Seigo 2008-05-12 04:57:38 +00:00
parent 2ec2a2b346
commit 7750ba9273

View File

@ -473,6 +473,17 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
*/
void configNeedsSaving();
/**
* @param parent the QGraphicsItem this applet is parented to
* @param serviceId the name of the .desktop file containing the
* information about the widget
* @param appletId a unique id used to differentiate between multiple
* instances of the same Applet type
*/
explicit Applet(QGraphicsItem* parent = 0,
const QString& serviceId = QString(),
uint appletId = 0);
public Q_SLOTS:
/**
* Sets the immutability type for this applet (not immutable, user immutable or system immutable)
@ -510,17 +521,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
void flushPendingConstraintsEvents();
protected:
/**
* @param parent the QGraphicsItem this applet is parented to
* @param serviceId the name of the .desktop file containing the
* information about the widget
* @param appletId a unique id used to differentiate between multiple
* instances of the same Applet type
*/
explicit Applet(QGraphicsItem* parent = 0,
const QString& serviceId = QString(),
uint appletId = 0);
/**
* This constructor is to be used with the plugin loading systems
* found in KPluginInfo and KService. The argument list is expected