[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.4/kdebase/runtime/nepomuk/services/strigi
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-02-09 12:47:15
Message-ID: 1265719635.953815.11519.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1087706 by trueg:
Backport: Do not use predefined prefixes to make sure the query even works before the \
ontology loader is done loading all ontologies.
M +2 -1 statuswidget.cpp
--- branches/KDE/4.4/kdebase/runtime/nepomuk/services/strigi/statuswidget.cpp \
#1087705:1087706 @@ -91,7 +91,8 @@
// ========================================
Soprano::Util::AsyncQuery* query
= Soprano::Util::AsyncQuery::executeQuery( m_model,
- QLatin1String( "select \
count(distinct ?r) where { ?r a nfo:FileDataObject . }" ), + \
QString::fromLatin1( "select count(distinct ?r) where { ?r a %1 . }" ) + \
.arg( Soprano::Node::resourceToN3( \
Nepomuk::Vocabulary::NFO::FileDataObject() ) ),
\
Soprano::Query::QueryLanguageSparql );
connect( query, SIGNAL( nextReady(Soprano::Util::AsyncQuery*) ), this, SLOT( \
slotFileCountFinished(Soprano::Util::AsyncQuery*) ) ); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic