[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdelibs-4.1-branch/nepomuk/core/ontology
From:       Allen Winter <winter () kde ! org>
Date:       2009-03-04 19:52:14
Message-ID: 1236196334.456381.5373.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 935290 by winterz:

don't redeclare qHash.  that's why we include qHash.
fixes a compile error


 M  +0 -15     entity.cpp  


--- branches/kdepim/enterprise4/kdelibs-4.1-branch/nepomuk/core/ontology/entity.cpp #935289:935290
@@ -21,8 +21,6 @@
 #include "entity_p.h"
 #include "resourcemanager.h"
 
-#include <QtCore/QHash>
-
 #include <Soprano/QueryResultIterator>
 #include <Soprano/Model>
 #include <Soprano/Vocabulary/NRL>
@@ -31,19 +29,6 @@
 
 #include <kicon.h>
 
-#ifndef _MSC_VER
-uint qHash( const QUrl& url )
-{
-    return qHash( url.toString() );
-}
-#endif
-
-// uint qHash( const Nepomuk::Types::Entity& c )
-// {
-//     return (uint)(ulong)c.d.data();
-// }
-
-
 Nepomuk::Types::EntityPrivate::EntityPrivate( const QUrl& uri_ )
     : uri( uri_ ),
       available( uri_.isValid() ? -1 : 0 ),
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic