NepomukDaemons
legacystoragebridge.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 #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