[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: problem building kdesupport/soprano against Qt4.5
From: Brad Hards <bradh () frogmouth ! net>
Date: 2008-08-23 10:29:32
Message-ID: 200808232029.33367.bradh () frogmouth ! net
[Download RAW message or body]
On Saturday 23 August 2008 05:32:04 pm Thiago Macieira wrote:
> Brad Hards wrote:
> > If putting it in a namespace is BIC, and putting it in a namespace is
> > the way to re-order the Qt4.5 reordering, then I'm not sure how to get
> > out of this.
>
> Do both :-)
>
> Put it in the namespace and leave the existing function there.
OK. Clearly another brain failure - I thought it was BIC because I was adding
to the Soprano namespace, rather than removing it from the global namespace.
Brad
===================================================================
--- soprano/soprano/inference/inferencemodel.cpp (revision 850712)
+++ soprano/soprano/inference/inferencemodel.cpp (working copy)
@@ -65,6 +65,11 @@
// -----------------------------------------------------------------------------------------------------------------------
#include <QSet>
#include "statementiterator.h"
+uint Soprano::qHash( const Soprano::Node& node )
+{
+ return qHash( node.toString() );
+}
+
uint qHash( const Soprano::Node& node )
{
return qHash( node.toString() );
Index: soprano/soprano/inference/inferencemodel.h
===================================================================
--- soprano/soprano/inference/inferencemodel.h (revision 850712)
+++ soprano/soprano/inference/inferencemodel.h (working copy)
@@ -196,6 +196,9 @@
Private* const d;
};
}
+
+uint qHash( const Soprano::Node& node );
+
}
uint qHash( const Soprano::Node& node );
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic