NepomukDaemons
Nepomuk::OntologyUpdateJob Class Reference
#include <ontologyupdatejob.h>
Inheritance diagram for Nepomuk::OntologyUpdateJob:

Public Member Functions | |
| OntologyUpdateJob (Soprano::Model *mainModel, QObject *parent) | |
| ~OntologyUpdateJob () | |
| Soprano::Model * | model () const |
| void | setBaseUri (const QUrl &uri) |
| void | start () |
Static Public Member Functions | |
| static QDateTime | ontoModificationDate (Soprano::Model *model, const QUrl &uri) |
Protected Member Functions | |
| virtual Soprano::StatementIterator | data ()=0 |
Detailed Description
Definition at line 33 of file ontologyupdatejob.h.
Constructor & Destructor Documentation
| Nepomuk::OntologyUpdateJob::OntologyUpdateJob | ( | Soprano::Model * | mainModel, | |
| QObject * | parent | |||
| ) |
Definition at line 270 of file ontologyupdatejob.cpp.
| Nepomuk::OntologyUpdateJob::~OntologyUpdateJob | ( | ) |
Definition at line 279 of file ontologyupdatejob.cpp.
Member Function Documentation
| virtual Soprano::StatementIterator Nepomuk::OntologyUpdateJob::data | ( | ) | [protected, pure virtual] |
Provides the actual ontology data as statements.
Implemented in Nepomuk::DesktopOntologyUpdateJob.
| Soprano::Model * Nepomuk::OntologyUpdateJob::model | ( | ) | const |
Definition at line 297 of file ontologyupdatejob.cpp.
| QDateTime Nepomuk::OntologyUpdateJob::ontoModificationDate | ( | Soprano::Model * | model, | |
| const QUrl & | uri | |||
| ) | [static] |
Definition at line 303 of file ontologyupdatejob.cpp.
| void Nepomuk::OntologyUpdateJob::setBaseUri | ( | const QUrl & | uri | ) |
Set the ontology's base URI, aka the namespace.
If not set it will be determined from the input data.
Definition at line 291 of file ontologyupdatejob.cpp.
| void Nepomuk::OntologyUpdateJob::start | ( | ) |
Start the job.
Connect to result() to see if updating the ontology was successful.
Definition at line 285 of file ontologyupdatejob.cpp.
The documentation for this class was generated from the following files:
KDE 4.5 API Reference