add access to the extender
svn path=/trunk/KDE/kdelibs/; revision=976407
This commit is contained in:
parent
784fb1229b
commit
0f8a89e2d4
@ -162,6 +162,12 @@ const Package *AppletScript::package() const
|
||||
return d->applet->package();
|
||||
}
|
||||
|
||||
Extender *AppletScript::extender() const
|
||||
{
|
||||
Q_ASSERT(d->applet);
|
||||
return d->applet->extender();
|
||||
}
|
||||
|
||||
} // Plasma namespace
|
||||
|
||||
#include "appletscript.moc"
|
||||
|
@ -38,6 +38,7 @@ namespace Plasma
|
||||
{
|
||||
|
||||
class AppletScriptPrivate;
|
||||
class Extender;
|
||||
|
||||
/**
|
||||
* @class AppletScript plasma/scripting/appletscript.h <Plasma/Scripting/AppletScript>
|
||||
@ -135,6 +136,11 @@ public:
|
||||
*/
|
||||
void configNeedsSaving() const;
|
||||
|
||||
/**
|
||||
* @see Applet
|
||||
*/
|
||||
Extender *extender() const;
|
||||
|
||||
public Q_SLOTS:
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user