add access to the extender

svn path=/trunk/KDE/kdelibs/; revision=976407
This commit is contained in:
Aaron J. Seigo 2009-06-01 15:53:32 +00:00
parent 784fb1229b
commit 0f8a89e2d4
2 changed files with 12 additions and 0 deletions

View File

@ -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"

View File

@ -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:
/**