summaryrefslogtreecommitdiffstats
path: root/kjsembed/README
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /kjsembed/README
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/README')
-rw-r--r--kjsembed/README48
1 files changed, 48 insertions, 0 deletions
diff --git a/kjsembed/README b/kjsembed/README
new file mode 100644
index 00000000..aa0ca684
--- /dev/null
+++ b/kjsembed/README
@@ -0,0 +1,48 @@
+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>
+