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(); applet()->update();
} }
void AppletInterface::setLayout(QGraphicsLayout *layout)
{
applet()->setLayout(layout);
}
QGraphicsLayout *AppletInterface::layout() const
{
return applet()->layout();
}
const Plasma::Package *AppletInterface::package() const const Plasma::Package *AppletInterface::package() const
{ {
return m_appletScriptEngine->package(); return m_appletScriptEngine->package();

View File

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