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:
parent
35a255722e
commit
931d9a2869
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user