From: Sebastian Trueg Date: Sat, 10 Mar 2007 11:21:00 +0000 (+0000) Subject: Ported the annotation to the new NAO ontology where it is called "comment" based... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e41ebdc5282abab74b3d9fef192a2ac69c77f05e 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 --- diff --git a/src/metadataloader.cpp b/src/metadataloader.cpp index 2269a4374..9b6ebc4fc 100644 --- a/src/metadataloader.cpp +++ b/src/metadataloader.cpp @@ -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 }