SVN commit 1054900 by aseigo: more api M +123 -78 main.js --- trunk/KDE/kdeexamples/plasma/javascript/plasmoids/enumerateAPI/contents/code/main.js #1054899:1054900 @@ -1,3 +1,5 @@ +var text = true + classNames = new Array() classNames.push('BusyWidget') classNames.push('CheckBox') @@ -26,87 +28,103 @@ classNames.push('VideoWidget') classNames.push('WebView') -// ScrollWidget - var commonProperties = new Array -commonProperties.push("objectName" ) -commonProperties.push("parent" ) -commonProperties.push("id" ) -commonProperties.push("opacity" ) -commonProperties.push("enabled" ) -commonProperties.push("visible" ) -commonProperties.push("pos" ) -commonProperties.push("x" ) -commonProperties.push("y" ) -commonProperties.push("z" ) -commonProperties.push("rotation" ) -commonProperties.push("scale" ) -commonProperties.push("transformOriginPoint" ) -commonProperties.push("palette" ) -commonProperties.push("font" ) -commonProperties.push("layoutDirection" ) -commonProperties.push("size" ) -commonProperties.push("focusPolicy" ) -commonProperties.push("windowFlags" ) -commonProperties.push("windowTitle" ) -commonProperties.push("geometry" ) -commonProperties.push("parentWidget" ) -commonProperties.push("stylesheet" ) -commonProperties.push("nativeWidget" ) -commonProperties.push("destroyed(QObject*)" ) -commonProperties.push("destroyed()" ) -commonProperties.push("deleteLater()" ) -commonProperties.push("parentChanged()" ) -commonProperties.push("opacityChanged()" ) -commonProperties.push("visibleChanged()" ) -commonProperties.push("enabledChanged()" ) -commonProperties.push("xChanged()" ) -commonProperties.push("yChanged()" ) -commonProperties.push("zChanged()" ) -commonProperties.push("rotationChanged()" ) -commonProperties.push("scaleChanged()" ) -commonProperties.push("close()" ) -commonProperties.push("newProxyWidget(const QWidget*)" ) +commonProperties.push("objectName") +commonProperties.push("parent") +commonProperties.push("id") +commonProperties.push("opacity") +commonProperties.push("enabled") +commonProperties.push("visible") +commonProperties.push("pos") +commonProperties.push("x") +commonProperties.push("y") +commonProperties.push("z") +commonProperties.push("rotation") +commonProperties.push("scale") +commonProperties.push("transformOriginPoint") +commonProperties.push("palette") +commonProperties.push("font") +commonProperties.push("layoutDirection") +commonProperties.push("size") +commonProperties.push("focusPolicy") +commonProperties.push("windowFlags") +commonProperties.push("windowTitle") +commonProperties.push("geometry") +commonProperties.push("parentWidget") +commonProperties.push("stylesheet") +commonProperties.push("nativeWidget") +commonProperties.push("destroyed(QObject*)") +commonProperties.push("destroyed()") +commonProperties.push("deleteLater()") +commonProperties.push("parentChanged()") +commonProperties.push("opacityChanged()") +commonProperties.push("visibleChanged()") +commonProperties.push("enabledChanged()") +commonProperties.push("xChanged()") +commonProperties.push("yChanged()") +commonProperties.push("zChanged()") +commonProperties.push("rotationChanged()") +commonProperties.push("scaleChanged()") +commonProperties.push("close()") +commonProperties.push("newProxyWidget(const QWidget*)") commonProperties.push("styleSheet()") commonProperties.push("timerEvent(QTimerEvent*)") -var apihtml = '' -var apitext = '' -for (index in classNames) { - apihtml += '
' + classNames[index] + "
' + name + "