NepomukDaemons
ontologymanagermodel.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_ONTOLOGY_MANAGER_MODEL_H_
00020 #define _NEPOMUK_ONTOLOGY_MANAGER_MODEL_H_
00021
00022 #include <Soprano/FilterModel>
00023
00024 namespace Nepomuk {
00035 class OntologyManagerModel : public Soprano::FilterModel
00036 {
00037 Q_OBJECT
00038
00039 public:
00043 OntologyManagerModel( Soprano::Model* parentModel = 0, QObject* parent = 0 );
00044
00048 ~OntologyManagerModel();
00049
00062 bool updateOntology( Soprano::StatementIterator data, const QUrl& ns = QUrl() );
00063
00072 bool removeOntology( const QUrl& ns );
00073
00084 QDateTime ontoModificationDate( const QUrl& uri );
00085
00086 private:
00087 class Private;
00088 Private* const d;
00089 };
00090 }
00091
00092 #endif