Revision 798103

Go back to digest for 20th April 2008

Features in Development Tools

Richard Dale committed changes in /trunk/KDE/kdebindings/ruby/plasma:

* Added a Plasma Data Engine for querying SPARQL endpoints, and returning the results passed to setData() as two strings and a Qt::Variant - the source name, a variable name from the query, followed by a Qt::Variant containing a Soprano::Node as the value of the result.
* The example data engine queries DBPedia for details of the albums for an artist given the artists name.
* So the source might be 'The Velvet Underground', and the results will be all the albums they have released with album name, dbpedia resource urn for the album, and date released. The album name appears both as the source name and an attribute of the source too.
* Enhanced the engineexplorer to work with Qt::Variants containing Soprano::Nodes

File Changes

Added 4 files
  • /trunk/KDE/kdebindings/ruby/plasma/examples/dataengines/dbpedia_albums
  •   /CMakeLists.txt
  •   /dbpedia_albums_engine.rb
  •   /plasma-dataengine-dbpedia-albums.desktop
Modified 5 files
  • /trunk/KDE/kdebindings/ruby/plasma
  •   /ChangeLog
  •   /src/kdehandlers.cpp
  •   /src/plasma.cpp
  •   /examples/dataengines/CMakeLists.txt
  •   /tools/engineexplorer/engineexplorer.rb
9 files changed in total