<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>engine/nepomuk/tasks_cats_db</filename>
    </added>
    <added>
      <filename>engine/nepomuk/tomspecs</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -16,6 +16,16 @@
 #include &lt;KSycocaEntry&gt;
 
 namespace Raptor {
+static QHash&lt;QString, QString&gt; tomFromService(KService * service)
+{
+    /*QStringList cats = service-&gt;categories();
+    QHash&lt;QString, QString&gt; tom;
+    if (cats.contains(&quot;Audio&quot;) &amp;&amp; cats.contains(&quot;Midi&quot;)) {
+        tom.insert(&quot;Media&quot;, &quot;Create&quot;);
+    }
+    if (cats.contains(&quot;Audio&quot;) &amp;&amp; cats.contains(&quot;&quot;))*/
+}
+
 class MenuItem
 {
 public:</diff>
      <filename>engine/nepomuk/nepomukmodel.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,15 @@
 
 #include &quot;category.h&quot;
 
+class KService;
 namespace Raptor {
+/**
+ * This method returns the associated Category and Task
+ * as from the TOM spec you can find along with raptor.
+ * The first QString is the Category and the second one is
+ * the Task.
+ */
+static QHash&lt;QString, QString&gt; tomFromService(KService * service);
 class NepomukModel : public QAbstractItemModel
 {
 Q_OBJECT</diff>
      <filename>engine/nepomuk/nepomukmodel.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ca8f1b8b186b01439e2f86e30e0ffe0d2c3b2fd0</id>
    </parent>
  </parents>
  <author>
    <name>Lukas Appelhans</name>
    <email>l.appelhans@gmx.de</email>
  </author>
  <url>http://github.com/ruphy/raptor/commit/14e1ab9a4996628e4121e56b704f345bd0307fba</url>
  <id>14e1ab9a4996628e4121e56b704f345bd0307fba</id>
  <committed-date>2009-06-23T11:10:27-07:00</committed-date>
  <authored-date>2009-06-23T11:10:27-07:00</authored-date>
  <message>Add some stuff about TOM, to guess TOM-Cats and TOM-Tasks from
KService::categories()</message>
  <tree>da57ee5d1a8296bd379494b06d0f1a0992725c0e</tree>
  <committer>
    <name>Lukas Appelhans</name>
    <email>l.appelhans@gmx.de</email>
  </committer>
</commit>
