mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-02 14:45:04 +00:00
Ported the annotation to the new NAO ontology where it is called "comment" based on rdfs:comment.
svn path=/trunk/KDE/kdebase/apps/; revision=641172
This commit is contained in:
parent
188683aff3
commit
e41ebdc528
|
@ -55,7 +55,7 @@ QString MetadataLoader::getAnnotation(const KUrl& file)
|
|||
{
|
||||
#ifdef HAVE_KMETADATA
|
||||
if(m_up)
|
||||
return Nepomuk::KMetaData::File(file.url()).getAnnotation();
|
||||
return Nepomuk::KMetaData::File(file.url()).getComment();
|
||||
else
|
||||
#endif
|
||||
return QString();
|
||||
|
@ -65,7 +65,7 @@ void MetadataLoader::setAnnotation(const KUrl& file, const QString& annotation)
|
|||
{
|
||||
#ifdef HAVE_KMETADATA
|
||||
if(m_up)
|
||||
Nepomuk::KMetaData::File(file.url()).setAnnotation(annotation);
|
||||
Nepomuk::KMetaData::File(file.url()).setComment(annotation);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue