[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/backupsync/lib
From: Vishesh Handa <handa.vish () gmail ! com>
Date: 2011-01-28 7:13:43
Message-ID: 20110128071343.E13DBAC8BB () svn ! kde ! org
[Download RAW message or body]
SVN commit 1217714 by vhanda:
The function isIdentifyingProperty(...) is not used is this file anymore. Remove it.
M +0 -14 resourceidentifier_p.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/backupsync/lib/resourceidentifier_p.cpp #1217713:1217714
@@ -65,20 +65,6 @@
}
-namespace {
-
- //TODO: Use Nepomuk::Type::Property
- bool isIdentifyingProperty( KUrl prop, Soprano::Model * model ) {
- QString query = QString::fromLatin1( "ask { %1 %2 %3 }" )
- .arg( Soprano::Node::resourceToN3( prop ) )
- .arg( Soprano::Node::resourceToN3(Soprano::Vocabulary::RDFS::subPropertyOf()) )
- .arg( Soprano::Node::resourceToN3(Nepomuk::Vocabulary::backupsync::identifyingProperty()) );
- return model->executeQuery( query, Soprano::Query::QueryLanguageSparql ).boolValue();
- }
-}
-
-
-
bool Nepomuk::Sync::ResourceIdentifier::Private::identify( const KUrl& oldUri )
{
kDebug() << oldUri;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic