* Change the name of the initScriptExtenderItem to extenderItemRestored as it is less clumsy
svn path=/trunk/KDE/kdelibs/; revision=999251
This commit is contained in:
parent
b6bf566750
commit
f962a9c958
@ -667,7 +667,7 @@ void Applet::constraintsEvent(Plasma::Constraints constraints)
|
|||||||
void Applet::initExtenderItem(ExtenderItem *item)
|
void Applet::initExtenderItem(ExtenderItem *item)
|
||||||
{
|
{
|
||||||
if (d->script) {
|
if (d->script) {
|
||||||
emit initScriptExtenderItem(item);
|
emit extenderItemRestored(item);
|
||||||
} else {
|
} else {
|
||||||
kWarning() << "Missing implementation of initExtenderItem in the applet "
|
kWarning() << "Missing implementation of initExtenderItem in the applet "
|
||||||
<< item->config().readEntry("SourceAppletPluginName", "")
|
<< item->config().readEntry("SourceAppletPluginName", "")
|
||||||
|
2
applet.h
2
applet.h
@ -696,7 +696,7 @@ class PLASMA_EXPORT Applet : public QGraphicsWidget
|
|||||||
/**
|
/**
|
||||||
* Emitted when an ExtenderItem in a scripting applet needs to be initialized
|
* Emitted when an ExtenderItem in a scripting applet needs to be initialized
|
||||||
*/
|
*/
|
||||||
void initScriptExtenderItem(Plasma::ExtenderItem *item);
|
void extenderItemRestored(Plasma::ExtenderItem *item);
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user