export the applet we're configuring

This commit is contained in:
Marco Martin 2014-06-09 13:24:16 +02:00
parent 86c1f46eaa
commit e558e44658
2 changed files with 7 additions and 0 deletions

View File

@ -255,6 +255,11 @@ void ConfigView::init()
setSource(QUrl::fromLocalFile(d->corona->package().filePath("appletconfigurationui")));
}
Plasma::Applet *ConfigView::applet()
{
return d->applet.data();
}
ConfigModel *ConfigView::configModel() const
{
return d->configModel;

View File

@ -63,6 +63,8 @@ public:
virtual void init();
Plasma::Applet *applet();
QString appletGlobalShortcut() const;
void setAppletGlobalShortcut(const QString &shortcut);