Version: 1.6.0 (using KDE KDE 3.5.3) Installed from: Compiled From Sources OS: Linux It would be beneficial if there was a way to read text files from within JavaScript. For example, a user would like to read a list of filenames from a text file.
SVN commit 727169 by arwalker: CCBUG:150999 First draft of JavaScript functionality for reading files M +2 -1 Makefile.am A bind_file.cpp [License: GPL (v2+)] A bind_file.h [License: GPL (v2+)] M +4 -1 js.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=727169
Is this necessary, or can we simply create a QFile from with JavaScript?
Functionality for reading from files is present. This can always be removed, if we can access a QFile object, or extended if we want the ability to write to files.