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.
tdebindings/kjsembed
toma 90825e2392
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
15 years ago
..
bindings Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
bindwizard Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
builtins Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
cpptests Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
docs Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjsembed Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kscript Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
plugin Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
plugins Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjscmd Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjscmdw Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qtbindings Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
stdlib Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
tests Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
tools Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Doxyfile Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Doxyfile-Internal Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Makefile.am Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
TODO Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
binding_type.desktop Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
customobject_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
customobject_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
design.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
doxygen_fakes.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
global.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
global.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbinding.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbinding.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbindingbase.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbindingplugin.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbindingplugin.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltin.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltin.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltin_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltin_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltinproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsbuiltinproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsconsolewidget.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsconsolewidget.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jseventmapper.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jseventmapper.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jseventutils.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jseventutils.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsfactory.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsfactory.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsfactory_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsfactory_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjecteventproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjecteventproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjectproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjectproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjectproxy_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsobjectproxy_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsopaqueproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsopaqueproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsopaqueproxy_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsopaqueproxy_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsproxy_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsproxy_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jssecuritypolicy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jssecuritypolicy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsvalueproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsvalueproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsvalueproxy_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
jsvalueproxy_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjs.pro Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjscmd.1 Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjscmd.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjscmd.desktop Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjsembedpart.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjsembedpart.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjsembedpart_imp.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjsembedpart_imp.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
ksimpleprocess.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
ksimpleprocess.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
lgpl.txt Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjscmd.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjsembed.nsi Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjsembed.pri Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qjsembed.pro Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qtstubs.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
qtstubs.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
setup_qtonly Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
slotproxy.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
slotproxy.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
slotutils.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
slotutils.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testkjsembed.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
xmlactionclient.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
xmlactionclient.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 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>