NepomukDaemons
util.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _STRIGI_SOPRNOA_UTIL_H_
00021 #define _STRIGI_SOPRNOA_UTIL_H_
00022
00023 #include <string>
00024 #include "tstring.h"
00025
00026 class QUrl;
00027 namespace Soprano {
00028 class Model;
00029 class Node;
00030 }
00031
00032 namespace Strigi {
00033
00034 class Variant;
00035
00036 namespace Soprano {
00037 namespace Util {
00038 QUrl fieldUri( const std::string& s );
00039 QUrl fileUrl( const std::string& filename );
00040 std::string fieldName( const QUrl& uri );
00041 TString convertSearchField( const std::string& field );
00042 QUrl uniqueUri( const QString& ns, ::Soprano::Model* model );
00043 Strigi::Variant nodeToVariant( const ::Soprano::Node& node );
00044
00049 void storeStrigiMiniOntology( ::Soprano::Model* model );
00050 }
00051 }
00052
00053 namespace Ontology {
00054 QUrl indexGraphFor();
00055 }
00056 }
00057
00058 #endif