--- nepomuk/core/resourcemanager.cpp.old	2007-10-26 13:49:49.000000000 +0200
+++ nepomuk/core/resourcemanager.cpp	2007-10-26 13:59:14.000000000 +0200
@@ -31,14 +31,22 @@
 #include <krandom.h>
 
 #include <Soprano/Client/DBusClient>
+#include <Soprano/Client/DBusModel>
 #include <Soprano/Node>
 #include <Soprano/Statement>
-#include <Soprano/DummyModel>
 #include <Soprano/Vocabulary/RDF>
 #include <Soprano/StatementIterator>
 
+// just to be sure nobody hits me due to the API change in Soprano
+#include <soprano/dummymodel.h>
+namespace Soprano {
+   namespace Util {
+   class Dummy {};
+   }
+}
 
 using namespace Soprano;
+using namespace Soprano::Util;
 
 
 static const char* NEPOMUK_NAMESPACE = "http://nepomuk.kde.org/resources#";
@@ -57,7 +65,7 @@
     Soprano::Client::DBusClient client;
     Soprano::Model* mainModel;
 
-    Soprano::DummyModel* dummyModel;
+    DummyModel* dummyModel;
 
 private:
     ResourceManager* m_parent;
@@ -218,7 +226,7 @@
 
     if ( !d->mainModel ) {
         if ( !d->dummyModel ) {
-            d->dummyModel = new Soprano::DummyModel();
+            d->dummyModel = new DummyModel();
         }
         return d->dummyModel;
     }
