NepomukDaemons
storage.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_STORAGE_H_
00020 #define _NEPOMUK_STORAGE_H_
00021
00022 #include <Nepomuk/Service>
00023
00024 namespace Nepomuk {
00025
00026 class Core;
00027
00028 class Storage : public Service
00029 {
00030 Q_OBJECT
00031 Q_CLASSINFO( "D-Bus Interface", "org.kde.nepomuk.Storage" )
00032
00033 public:
00034 Storage( QObject* parent, const QList<QVariant>& args = QList<QVariant>() );
00035 ~Storage();
00036
00037 public Q_SLOTS:
00038 Q_SCRIPTABLE void optimize( const QString& repo );
00039 Q_SCRIPTABLE QString usedSopranoBackend() const;
00040
00041 private Q_SLOTS:
00042 void slotNepomukCoreInitialized( bool success );
00043
00044 private:
00045 Nepomuk::Core* m_core;
00046 };
00047 }
00048
00049 #endif