2 $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
4 This file is part of the Strigi project.
5 Copyright (C) 2007 Sebastian Trueg <trueg@kde.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License as
9 published by the Free Software Foundation; either version 2 of
10 the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this library; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.
23 #ifndef _STRIGI_SOPRNOA_UTIL_H_
24 #define _STRIGI_SOPRNOA_UTIL_H_
41 QUrl
fieldUri( const std::string
& s
);
42 QUrl
fileUrl( const std::string
& filename
);
43 std::string
fieldName( const QUrl
& uri
);
44 TString
convertSearchField( const std::string
& field
);
45 QUrl
uniqueUri( const QString
& ns
, ::Soprano::Model
* model
);
46 Strigi::Variant
nodeToVariant( const ::Soprano::Node
& node
);