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

NepomukDaemons

legacystoragebridge.h

Go to the documentation of this file.
00001 /*
00002    Copyright (C) 2008 by Sebastian Trueg <trueg at kde.org>
00003 
00004    This program is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 2, or (at your option)
00007    any later version.
00008 
00009    This program 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
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program; if not, write to the Free Software
00016    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00017  */
00018 
00019 #ifndef _NEPOMUK_LEGACY_STORAGE_BRIDGE_H_
00020 #define _NEPOMUK_LEGACY_STORAGE_BRIDGE_H_
00021 
00022 #include <Soprano/Server/ServerCore>
00023 
00024 namespace Soprano {
00025     class Model;
00026     namespace Client {
00027         class DBusClient;
00028     }
00029 }
00030 
00031 namespace Nepomuk {
00039     class LegacyStorageBridge : public Soprano::Server::ServerCore
00040     {
00041         Q_OBJECT
00042     
00043     public:
00044         LegacyStorageBridge( QObject* parent = 0 );
00045         ~LegacyStorageBridge();
00046 
00050         Soprano::Model* model( const QString& name );
00051 
00055         void removeModel( const QString& name );
00056 
00060         QStringList allModels() const;
00061 
00062     private:
00063         void initClient();
00064         Soprano::Client::DBusClient* m_client;
00065     };
00066 }
00067 
00068 #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