On Saturday 23 August 2008 02:52:31 pm Brad Hards wrote: > On Friday 22 August 2008 08:46:25 pm Brad Hards wrote: > I did the same kind of namespace wrapping: > and it now compiles, but won't link: In my defence, I'm sick. Here is a working patch: Index: core/resourcefiltermodel.cpp =================================================================== --- core/resourcefiltermodel.cpp (revision 850712) +++ core/resourcefiltermodel.cpp (working copy) @@ -41,13 +41,19 @@ using namespace Soprano; - +namespace Soprano { uint qHash( const Soprano::Node& node ) { return qHash( node.toString() ); } +} +static inline uint qHash( const QUrl& url ) { + return qHash( url.toString() ); +} + + class Nepomuk::ResourceFilterModel::Private { public: Index: core/resourcefiltermodel.h =================================================================== --- core/resourcefiltermodel.h (revision 850712) +++ core/resourcefiltermodel.h (working copy) @@ -113,7 +113,9 @@ }; } - +namespace Soprano +{ uint qHash( const Soprano::Node& node ); +} #endif >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<