]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Ported the annotation to the new NAO ontology where it is called "comment" based...
authorSebastian Trueg <sebastian@trueg.de>
Sat, 10 Mar 2007 11:21:00 +0000 (11:21 +0000)
committerSebastian Trueg <sebastian@trueg.de>
Sat, 10 Mar 2007 11:21:00 +0000 (11:21 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=641172

src/metadataloader.cpp

index 2269a43743c332eb0c7d69664129c01e146e4737..9b6ebc4fcda9dd4f385036f906f35b9c9f1ecf0c 100644 (file)
@@ -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
 }