From kde-devel Sat Aug 23 10:29:32 2008 From: Brad Hards Date: Sat, 23 Aug 2008 10:29:32 +0000 To: kde-devel Subject: Re: problem building kdesupport/soprano against Qt4.5 Message-Id: <200808232029.33367.bradh () frogmouth ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=121948746727248 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 #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 <<