we don't need the layout stuff; we require the layouts to have a parent, so one just does nw Layout(plasmoid)

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=906210
This commit is contained in:
Aaron J. Seigo 2009-01-05 19:20:18 +00:00
parent 35a255722e
commit 931d9a2869
2 changed files with 2 additions and 18 deletions

View File

@ -109,16 +109,6 @@ void AppletInterface::update()
applet()->update();
}
void AppletInterface::setLayout(QGraphicsLayout *layout)
{
applet()->setLayout(layout);
}
QGraphicsLayout *AppletInterface::layout() const
{
return applet()->layout();
}
const Plasma::Package *AppletInterface::package() const
{
return m_appletScriptEngine->package();

View File

@ -95,9 +95,6 @@ enum AspectRatioMode {
//FIXME kconfiggroup bindings
Q_INVOKABLE KConfigGroup config();
//FIXME bindings
Plasma::DataEngine *dataEngine(const QString &name);
Q_INVOKABLE FormFactor formFactor();
Q_INVOKABLE Location location();
@ -133,11 +130,8 @@ enum AspectRatioMode {
Q_INVOKABLE void update();
Q_INVOKABLE void setLayout(QGraphicsLayout *layout);
Q_INVOKABLE QGraphicsLayout *layout() const;
//TODO setLayout? layout()?
//FIXME bindings
Plasma::DataEngine *dataEngine(const QString &name);
const Plasma::Package *package() const;
QList<QAction*> contextualActions() const;