You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tpearson
a4ca9ecc41
|
15 years ago | |
---|---|---|
.. | ||
bindings | 15 years ago | |
bindwizard | 15 years ago | |
builtins | 15 years ago | |
cpptests | 15 years ago | |
docs | 15 years ago | |
kjsembed | 15 years ago | |
kscript | 15 years ago | |
plugin | 15 years ago | |
plugins | 15 years ago | |
qjscmd | 15 years ago | |
qjscmdw | 15 years ago | |
qtbindings | 15 years ago | |
stdlib | 15 years ago | |
tests | 15 years ago | |
tools | 15 years ago | |
Doxyfile | 15 years ago | |
Doxyfile-Internal | 15 years ago | |
Makefile.am | 15 years ago | |
README | 15 years ago | |
TODO | 15 years ago | |
binding_type.desktop | 15 years ago | |
customobject_imp.cpp | 15 years ago | |
customobject_imp.h | 15 years ago | |
design.h | 15 years ago | |
doxygen_fakes.h | 15 years ago | |
global.cpp | 15 years ago | |
global.h | 15 years ago | |
jsbinding.cpp | 15 years ago | |
jsbinding.h | 15 years ago | |
jsbindingbase.h | 15 years ago | |
jsbindingplugin.cpp | 15 years ago | |
jsbindingplugin.h | 15 years ago | |
jsbuiltin.cpp | 15 years ago | |
jsbuiltin.h | 15 years ago | |
jsbuiltin_imp.cpp | 15 years ago | |
jsbuiltin_imp.h | 15 years ago | |
jsbuiltinproxy.cpp | 15 years ago | |
jsbuiltinproxy.h | 15 years ago | |
jsconsolewidget.cpp | 15 years ago | |
jsconsolewidget.h | 15 years ago | |
jseventmapper.cpp | 15 years ago | |
jseventmapper.h | 15 years ago | |
jseventutils.cpp | 15 years ago | |
jseventutils.h | 15 years ago | |
jsfactory.cpp | 15 years ago | |
jsfactory.h | 15 years ago | |
jsfactory_imp.cpp | 15 years ago | |
jsfactory_imp.h | 15 years ago | |
jsobjecteventproxy.cpp | 15 years ago | |
jsobjecteventproxy.h | 15 years ago | |
jsobjectproxy.cpp | 15 years ago | |
jsobjectproxy.h | 15 years ago | |
jsobjectproxy_imp.cpp | 15 years ago | |
jsobjectproxy_imp.h | 15 years ago | |
jsopaqueproxy.cpp | 15 years ago | |
jsopaqueproxy.h | 15 years ago | |
jsopaqueproxy_imp.cpp | 15 years ago | |
jsopaqueproxy_imp.h | 15 years ago | |
jsproxy.cpp | 15 years ago | |
jsproxy.h | 15 years ago | |
jsproxy_imp.cpp | 15 years ago | |
jsproxy_imp.h | 15 years ago | |
jssecuritypolicy.cpp | 15 years ago | |
jssecuritypolicy.h | 15 years ago | |
jsvalueproxy.cpp | 15 years ago | |
jsvalueproxy.h | 15 years ago | |
jsvalueproxy_imp.cpp | 15 years ago | |
jsvalueproxy_imp.h | 15 years ago | |
kjs.pro | 15 years ago | |
kjscmd.1 | 15 years ago | |
kjscmd.cpp | 15 years ago | |
kjscmd.desktop | 15 years ago | |
kjsembedpart.cpp | 15 years ago | |
kjsembedpart.h | 15 years ago | |
kjsembedpart_imp.cpp | 15 years ago | |
kjsembedpart_imp.h | 15 years ago | |
ksimpleprocess.cpp | 15 years ago | |
ksimpleprocess.h | 15 years ago | |
lgpl.txt | 15 years ago | |
qjscmd.cpp | 15 years ago | |
qjsembed.nsi | 15 years ago | |
qjsembed.pri | 15 years ago | |
qjsembed.pro | 15 years ago | |
qtstubs.cpp | 15 years ago | |
qtstubs.h | 15 years ago | |
setup_qtonly | 15 years ago | |
slotproxy.cpp | 15 years ago | |
slotproxy.h | 15 years ago | |
slotutils.cpp | 15 years ago | |
slotutils.h | 15 years ago | |
testkjsembed.cpp | 15 years ago | |
xmlactionclient.cpp | 15 years ago | |
xmlactionclient.h | 15 years ago |
README
WARNING: ------- This library does not keep source or binary compatibility. Unless every one of your users compiles from source and recompiles after upgrading kjsembed, you should be making a complete copy of this code in your app and using that instead of the installed version. ----------------------------------------------------------------------------- A library for embedding the KJS Javascript interpreter in application. - A tutorial is under development, see http://xmelegance.org/kjsembed/ or take a look in the docs directory. - For information on using the library run kdoc over the header files. Here is an example interactive session with the test application, all lines beginning with 'kjs>' show the commands typed. -- Enter a JS expression and press enter -- kjs> 10+20 30 kjs> print("Hello World!") Hello World! undefined kjs> Math.sin(0) 0 kjs> Math.cos(0) 1 kjs> console JSConsoleWidget (KJSEmbed::JSConsoleWidget) kjs> console.childCount() 4 kjs> console.child(1) CmdEdit (QComboBox) kjs> console.child(2) RunButton (QPushButton) kjs> console.child("RunButton") RunButton (QPushButton) kjs> console.child("RunButton").text = "Go!" Go! kjs> console.caption = "Different Title" Different Title Copyright (C) 2001-2003, Richard J. Moore <rich@kde.org>