delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / nepomuk / services / ontologyloader / desktopontologyupdatejob.h
blob97c7f90c962d68414dbba61f978b2bb8895cf456
1 /* This file is part of the KDE Project
2 Copyright (c) 2008 Sebastian Trueg <trueg@kde.org>
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
19 #ifndef _NEPOMUK_DESKTOP_ONTOLOGY_UPDATE_JOB_H_
20 #define _NEPOMUK_DESKTOP_ONTOLOGY_UPDATE_JOB_H_
22 #include "ontologyupdatejob.h"
24 namespace Nepomuk {
25 class DesktopOntologyUpdateJob : public OntologyUpdateJob
27 Q_OBJECT
29 public:
30 DesktopOntologyUpdateJob( Soprano::Model* mainModel, QObject* parent );
31 ~DesktopOntologyUpdateJob();
33 void setOntologyDesktopFile( const QString& path );
35 protected:
36 Soprano::StatementIterator data();
38 private:
39 QString m_desktopFilePath;
43 #endif