• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

NepomukDaemons

graphretriever.h

Go to the documentation of this file.
00001 /*  This file is part of the KDE semantic clipboard
00002     Copyright (C) 2008 Tobias Wolf <twolf@access.unizh.ch>
00003     Copyright (C) 2008 Sebastian Trueg <trueg@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef _NEPOMUK_GRAPHRETRIEVER_H_
00022 #define _NEPOMUK_GRAPHRETRIEVER_H_
00023 
00024 #include <KJob>
00025 
00026 class QString;
00027 class QUrl;
00028 
00029 namespace Soprano {
00030     class Model;
00031     class StatementIterator;
00032 }
00033 namespace KIO {
00034     class Job;
00035 }
00036 
00037 namespace Nepomuk
00038 {
00039 
00054     class GraphRetriever : public KJob
00055     {
00056         Q_OBJECT
00057 
00058     public:
00064         GraphRetriever( QObject* parent = 0 );
00065 
00069         ~GraphRetriever();
00070 
00071         static GraphRetriever* retrieve( const QUrl& uri );
00072 
00073         void setUrl( const QUrl& url );
00074 
00075         QUrl url() const;
00076 
00083         void start();
00084 
00091         Soprano::Model* model() const;
00092 
00093         Soprano::StatementIterator statements() const;
00094 
00095     private Q_SLOTS:
00099         void httpRequestFinished( KJob* );
00100 
00101     private:
00102         class Private;
00103         Private* const d;
00104     };
00105 
00106 }
00107 
00108 #endif

NepomukDaemons

Skip menu "NepomukDaemons"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal