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

NepomukDaemons

ontologyloader.h

Go to the documentation of this file.
00001 /* This file is part of the KDE Project
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 Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef _NEPOMUK_SERVER_ONTOLOGY_LOADER_H_
00020 #define _NEPOMUK_SERVER_ONTOLOGY_LOADER_H_
00021 
00022 #include <Nepomuk/Service>
00023 #include <QtCore/QUrl>
00024 
00025 namespace Soprano {
00026     class Model;
00027 }
00028 
00029 
00030 namespace Nepomuk {
00031     class OntologyLoader : public Nepomuk::Service
00032     {
00033         Q_OBJECT
00034         Q_CLASSINFO( "D-Bus Interface", "org.kde.nepomuk.OntologyManager" )
00035 
00036     public:
00037         OntologyLoader( QObject* parent = 0, const QList<QVariant>& args = QList<QVariant>() );
00038         ~OntologyLoader();
00039 
00040     public Q_SLOTS:
00047         Q_SCRIPTABLE void updateAllOntologies();
00048 
00049         // FIXME: add methods (exported on DBus) like:
00050         // void importOntology( const QUrl& url... )
00051 
00052     private Q_SLOTS:
00053         // a little async updating
00054         void updateNextOntology();
00055 
00056     private:
00057         class Private;
00058         Private* const d;
00059     };
00060 }
00061 
00062 #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