needs to be public so custom coronas can get at it as needed
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811413
This commit is contained in:
parent
bc1688ae41
commit
58f283c58c
16
applet.h
16
applet.h
@ -544,6 +544,14 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||
*/
|
||||
void flushPendingConstraintsEvents();
|
||||
|
||||
/**
|
||||
* This method is called once the applet is loaded and added to a Corona.
|
||||
* If the applet requires a QGraphicsScene or has an particularly intensive
|
||||
* set of initialization routines to go through, consider implementing it
|
||||
* in this method instead of the constructor.
|
||||
**/
|
||||
virtual void init();
|
||||
|
||||
protected:
|
||||
/**
|
||||
* This constructor is to be used with the plugin loading systems
|
||||
@ -557,14 +565,6 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
||||
*/
|
||||
Applet(QObject* parent, const QVariantList& args);
|
||||
|
||||
/**
|
||||
* This method is called once the applet is loaded and added to a Corona.
|
||||
* If the applet requires a QGraphicsScene or has an particularly intensive
|
||||
* set of initialization routines to go through, consider implementing it
|
||||
* in this method instead of the constructor.
|
||||
**/
|
||||
virtual void init();
|
||||
|
||||
/**
|
||||
* Call this method when the applet fails to launch properly. An
|
||||
* optional reason can be provided.
|
||||
|
Loading…
x
Reference in New Issue
Block a user