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
Timothy Pearson 5538de896d
Rename KLock and KTrader to avoid conflicts with KDE4
12 years ago
..
bindings Rename a few build variables for overall consistency 12 years ago
bindwizard Update TQt3 property/enum macros 12 years ago
builtins Rename KStandard for enhanced compatibility with KDE4 12 years ago
cpptests Rename KInstance and KAboutData to avoid conflicts with KDE4 12 years ago
docs Rename KLock and KTrader to avoid conflicts with KDE4 12 years ago
kjsembed Initial TQt conversion 13 years ago
plugin Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
plugins Rename a few build variables for overall consistency 12 years ago
qjscmd Initial TQt conversion 13 years ago
qjscmdw Initial TQt conversion 13 years ago
qtbindings Revert "Rename a number of old tq methods that are no longer tq specific" 13 years ago
stdlib * Updated automake/autoconf 15 years ago
tdescript Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
tests Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
tools Update TQt3 property/enum macros 12 years ago
Doxyfile Update TQt3 property/enum macros 12 years ago
Doxyfile-Internal Update TQt3 property/enum macros 12 years ago
Makefile.am Rename a few build variables for overall consistency 12 years ago
README Initial TQt conversion 13 years ago
TODO Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
binding_type.desktop Update XDG information in support of bug report 892. 12 years ago
customobject_imp.cpp Rename kiobuffer and KHTML 12 years ago
customobject_imp.h Rename kiobuffer and KHTML 12 years ago
design.h Fix incorrect conversion 13 years ago
doxygen_fakes.h Fix incorrect conversion 13 years ago
global.cpp Fix incorrect conversion 13 years ago
global.h Revert "Rename a number of old tq methods that are no longer tq specific" 13 years ago
jsbinding.cpp Fix incorrect conversion 13 years ago
jsbinding.h Fix incorrect conversion 13 years ago
jsbindingbase.h Fix incorrect conversion 13 years ago
jsbindingplugin.cpp Fix incorrect conversion 13 years ago
jsbindingplugin.h Fix incorrect conversion 13 years ago
jsbuiltin.cpp Rename a number of libraries and executables to avoid conflicts with KDE4 12 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 Rename KStandard for enhanced compatibility with KDE4 12 years ago
jsbuiltin_imp.h Fix incorrect conversion 13 years ago
jsbuiltinproxy.cpp Fix incorrect conversion 13 years ago
jsbuiltinproxy.h Fix incorrect conversion 13 years ago
jsconsolewidget.cpp Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 12 years ago
jsconsolewidget.h Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 12 years ago
jseventmapper.cpp Fix incorrect conversion 13 years ago
jseventmapper.h Fix incorrect conversion 13 years ago
jseventutils.cpp Fix incorrect conversion 13 years ago
jseventutils.h Fix incorrect conversion 13 years ago
jsfactory.cpp Rename KLock and KTrader to avoid conflicts with KDE4 12 years ago
jsfactory.h Rename KLock and KTrader to avoid conflicts with KDE4 12 years ago
jsfactory_imp.cpp Fix incorrect conversion 13 years ago
jsfactory_imp.h Fix incorrect conversion 13 years ago
jsobjecteventproxy.cpp Fix incorrect conversion 13 years ago
jsobjecteventproxy.h Fix incorrect conversion 13 years ago
jsobjectproxy.cpp Fix incorrect conversion 13 years ago
jsobjectproxy.h Rename kiobuffer and KHTML 12 years ago
jsobjectproxy_imp.cpp Fix incorrect conversion 13 years ago
jsobjectproxy_imp.h Fix incorrect conversion 13 years ago
jsopaqueproxy.cpp Revert "Rename a number of old tq methods that are no longer tq specific" 13 years ago
jsopaqueproxy.h Fix incorrect conversion 13 years ago
jsopaqueproxy_imp.cpp Trinity Qt initial conversion 14 years ago
jsopaqueproxy_imp.h Initial TQt conversion 13 years ago
jsproxy.cpp Fix incorrect conversion 13 years ago
jsproxy.h Fix incorrect conversion 13 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 Fix incorrect conversion 13 years ago
jssecuritypolicy.h Fix incorrect conversion 13 years ago
jsvalueproxy.cpp Fix incorrect conversion 13 years ago
jsvalueproxy.h Fix incorrect conversion 13 years ago
jsvalueproxy_imp.cpp Trinity Qt initial conversion 14 years ago
jsvalueproxy_imp.h Trinity Qt initial conversion 14 years ago
kjs.pro Additional renaming of kde to tde 13 years ago
kjscmd.1 Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
kjscmd.cpp Rename KInstance and KAboutData to avoid conflicts with KDE4 12 years ago
kjscmd.desktop Update XDG information in support of bug report 892. 12 years ago
kjsembedpart.cpp Revert "Rename a number of old tq methods that are no longer tq specific" 13 years ago
kjsembedpart.h Rename a number of libraries and executables to avoid conflicts with KDE4 12 years ago
kjsembedpart_imp.cpp Fix incorrect conversion 13 years ago
kjsembedpart_imp.h Fix incorrect conversion 13 years ago
ksimpleprocess.cpp Rename additional members for tqt3 12 years ago
ksimpleprocess.h Fix incorrect conversion 13 years ago
lgpl.txt Fix inadvertent "TQ" changes. 12 years ago
qjscmd.cpp Fix incorrect conversion 13 years ago
qjsembed.nsi Fix automake problem 13 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 Fix incorrect conversion 13 years ago
qtstubs.h Fix incorrect conversion 13 years ago
setup_qtonly Additional renaming of kde to tde 13 years ago
slotproxy.cpp Fix incorrect conversion 13 years ago
slotproxy.h Fix incorrect conversion 13 years ago
slotutils.cpp Rename additional members for tqt3 12 years ago
slotutils.h Fix incorrect conversion 13 years ago
testkjsembed.cpp Rename KInstance and KAboutData to avoid conflicts with KDE4 12 years ago
xmlactionclient.cpp Fix incorrect conversion 13 years ago
xmlactionclient.h Fix incorrect conversion 13 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>