It occured to me that I often get the Resource returned as pimoThing, is that
normal?
The code looks like this:
Nepomuk::Resource res( item.url().url() ); //item is an akonadi item
if (!res.identifiers().contains(item.url().url())) {
res.setIdentifiers(QStringList() << item.url().url());
}
Nepomuk::Thing thing = res.pimoThing();
if (thing == res) {
kWarning() << "thing == res";
}
Cheers,
Chris
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk