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

List:       nepomuk
Subject:    Re: [Nepomuk] NAO::Symbols and ResourceWatcher
From:       David Narvaez <david.narvaez () computer ! org>
Date:       2012-04-27 11:51:18
Message-ID: CACFh1D45hTnBLq0XZ3GEbfp03heskwUmNNM8eh-DxatvDcJ8GA () mail ! gmail ! com
[Download RAW message or body]

On Wed, Apr 25, 2012 at 1:38 PM, David Narvaez
<david.narvaez@computer.org> wrote:
> so I guess it is very possible that properties are loaded by parts.
> The question then was how to know when to query again for symbols, so
> I tried setting up a ResourceWatcher yet it doesn't seem to be
> signaling when the hasSymbol property changes:
>
> connect(m_nepomukResourceWatcher,
>
> SIGNAL(propertyAdded(Nepomuk::Resource,Nepomuk::Types::Property,QVariant)=
),
> this, SLOT(nepomukOnline()));
>
> m_nepomukResourceWatcher->addProperty(Nepomuk::Vocabulary::NAO::hasSymbol=
());
> m_nepomukResourceWatcher->start();
>
> m_nepomukResourceWatcher->addResource(res);

Hmm, my guess is this will only notify me of changes through Nepomuk's
frontend but not from the backend (Soprano?), am I right? If so, then
the question is how to know when Soprano finds the missing properties.
Any ideas?

David E. Narv=E1ez
_______________________________________________
Nepomuk mailing list
Nepomuk@kde.org
https://mail.kde.org/mailman/listinfo/nepomuk
[prev in list] [next in list] [prev in thread] [next in thread] 

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