[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/nepomuk-kde/annotationplugins/simpleannotator
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2009-06-21 20:22:17
Message-ID: 1245615737.089372.15353.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 984976 by trueg:
hide relations and plain text
M +6 -0 mainwindow.cpp
--- trunk/playground/base/nepomuk-kde/annotationplugins/simpleannotator/mainwindow.cpp \
#984975:984976 @@ -41,6 +41,7 @@
#include <Nepomuk/Thing>
#include <Nepomuk/Variant>
+#include <Nepomuk/Types/Property>
#include <Nepomuk/ResourceManager>
#include <Soprano/Soprano>
@@ -146,6 +147,11 @@
connect( m_annotator, SIGNAL( finished() ),
this, SLOT( slotAnotatorFinished() ) );
+ m_relationView->hide();
+ m_annotationDisplay->setHiddenProperties( QList<Nepomuk::Types::Property>()
+ << Nepomuk::Types::Property( \
Nepomuk::Vocabulary::NIE::plainTextContent() ) + \
<< Nepomuk::Types::Property( Soprano::Vocabulary::Xesam::asText() ) ); +
// setup resource
setResource( Nepomuk::Resource( res ) );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic