• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

NepomukDaemons

util.h

Go to the documentation of this file.
00001 /*
00002    Copyright (C) 2007 Sebastian Trueg <trueg@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU General Public License as
00006    published by the Free Software Foundation; either version 2 of
00007    the License, or (at your option) any later version.
00008 
00009    This library is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012    Library General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this library; see the file COPYING.  If not, write to
00016    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017    Boston, MA 02110-1301, USA.
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     }
00045     }
00046 }
00047 
00048 #endif

NepomukDaemons

Skip menu "NepomukDaemons"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal