Svg and FrameSvg; the Plasma prefix seems superfluous, but keep them for compatibility

svn path=/trunk/KDE/kdebase/runtime/; revision=1054889
This commit is contained in:
Aaron J. Seigo 2009-11-27 02:21:49 +00:00
parent 9b44b1b751
commit b0287c853b

View File

@ -566,6 +566,8 @@ void SimpleJavaScriptApplet::setupObjects()
// Add stuff from Plasma
global.setProperty("PlasmaSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaSvg));
global.setProperty("PlasmaFrameSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaFrameSvg));
global.setProperty("Svg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaSvg));
global.setProperty("FrameSvg", m_engine->newFunction(SimpleJavaScriptApplet::newPlasmaFrameSvg));
installWidgets(m_engine);
}
@ -917,7 +919,6 @@ QScriptValue SimpleJavaScriptApplet::variantToScriptValue(QVariant var)
void SimpleJavaScriptApplet::collectGarbage()
{
kDebug();
m_engine->collectGarbage();
}