[texworks] SCRIPTING: KDE's use of QtScript utilses intersting and useful features
Paul A Norman
paul.a.norman at gmail.com
Tue Jul 6 07:08:03 CEST 2010
Hi all,
While hunting for any solutoins to using QUrl in QtScript came accross this ....
It illustrates some interesting approaches that KDE have taken in
implementing QtScript
http://forum.kde.org/viewtopic.php?f=117&t=74593
This piece looked very straightforwardly useful:
Importer.loadQtBinding( "qt.core" );
Importer.loadQtBinding( "qt.xml" );
user = "skerit"
xmlUrl = new QUrl( "http://ws.audioscrobbler.com" );
http = new QHttp;
data = new QIODevice;
doc = new QDomDocument("doc");
etc ...
I imagine its complex to implement but mention it in case it is not.
Paul
More information about the texworks
mailing list