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.
|
11 years ago | |
---|---|---|
.. | ||
bindings | 11 years ago | |
bindwizard | 11 years ago | |
builtins | 11 years ago | |
cpptests | 11 years ago | |
docs | 11 years ago | |
kjsembed | 13 years ago | |
plugin | 11 years ago | |
plugins | 11 years ago | |
qjscmd | 13 years ago | |
qjscmdw | 13 years ago | |
qtbindings | 12 years ago | |
stdlib | 15 years ago | |
tdescript | 12 years ago | |
tests | 12 years ago | |
tools | 11 years ago | |
Doxyfile | 12 years ago | |
Doxyfile-Internal | 11 years ago | |
Makefile.am | 11 years ago | |
README | 13 years ago | |
TODO | 15 years ago | |
binding_type.desktop | 12 years ago | |
customobject_imp.cpp | 12 years ago | |
customobject_imp.h | 12 years ago | |
design.h | 13 years ago | |
doxygen_fakes.h | 13 years ago | |
global.cpp | 13 years ago | |
global.h | 12 years ago | |
jsbinding.cpp | 13 years ago | |
jsbinding.h | 13 years ago | |
jsbindingbase.h | 13 years ago | |
jsbindingplugin.cpp | 13 years ago | |
jsbindingplugin.h | 13 years ago | |
jsbuiltin.cpp | 12 years ago | |
jsbuiltin.h | 15 years ago | |
jsbuiltin_imp.cpp | 12 years ago | |
jsbuiltin_imp.h | 13 years ago | |
jsbuiltinproxy.cpp | 13 years ago | |
jsbuiltinproxy.h | 13 years ago | |
jsconsolewidget.cpp | 12 years ago | |
jsconsolewidget.h | 12 years ago | |
jseventmapper.cpp | 13 years ago | |
jseventmapper.h | 13 years ago | |
jseventutils.cpp | 13 years ago | |
jseventutils.h | 13 years ago | |
jsfactory.cpp | 12 years ago | |
jsfactory.h | 12 years ago | |
jsfactory_imp.cpp | 13 years ago | |
jsfactory_imp.h | 13 years ago | |
jsobjecteventproxy.cpp | 13 years ago | |
jsobjecteventproxy.h | 13 years ago | |
jsobjectproxy.cpp | 13 years ago | |
jsobjectproxy.h | 12 years ago | |
jsobjectproxy_imp.cpp | 13 years ago | |
jsobjectproxy_imp.h | 13 years ago | |
jsopaqueproxy.cpp | 13 years ago | |
jsopaqueproxy.h | 13 years ago | |
jsopaqueproxy_imp.cpp | 14 years ago | |
jsopaqueproxy_imp.h | 13 years ago | |
jsproxy.cpp | 13 years ago | |
jsproxy.h | 13 years ago | |
jsproxy_imp.cpp | 15 years ago | |
jsproxy_imp.h | 15 years ago | |
jssecuritypolicy.cpp | 13 years ago | |
jssecuritypolicy.h | 13 years ago | |
jsvalueproxy.cpp | 13 years ago | |
jsvalueproxy.h | 13 years ago | |
jsvalueproxy_imp.cpp | 14 years ago | |
jsvalueproxy_imp.h | 14 years ago | |
kjs.pro | 13 years ago | |
kjscmd.1 | 15 years ago | |
kjscmd.cpp | 12 years ago | |
kjscmd.desktop | 12 years ago | |
kjsembedpart.cpp | 12 years ago | |
kjsembedpart.h | 12 years ago | |
kjsembedpart_imp.cpp | 13 years ago | |
kjsembedpart_imp.h | 13 years ago | |
ksimpleprocess.cpp | 12 years ago | |
ksimpleprocess.h | 13 years ago | |
lgpl.txt | 13 years ago | |
qjscmd.cpp | 13 years ago | |
qjsembed.nsi | 13 years ago | |
qjsembed.pri | 15 years ago | |
qjsembed.pro | 15 years ago | |
qtstubs.cpp | 13 years ago | |
qtstubs.h | 13 years ago | |
setup_qtonly | 13 years ago | |
slotproxy.cpp | 13 years ago | |
slotproxy.h | 13 years ago | |
slotutils.cpp | 12 years ago | |
slotutils.h | 13 years ago | |
testkjsembed.cpp | 12 years ago | |
xmlactionclient.cpp | 12 years ago | |
xmlactionclient.h | 12 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 (TQComboBox) kjs> console.child(2) RunButton (TQPushButton) kjs> console.child("RunButton") RunButton (TQPushButton) kjs> console.child("RunButton").text = "Go!" Go! kjs> console.caption = "Different Title" Different Title Copyright (C) 2001-2003, Richard J. Moore <rich@kde.org>