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

NepomukDaemons

repository.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * $Id: sourceheader 511311 2006-02-19 14:51:05Z trueg $
00004  *
00005  * This file is part of the Nepomuk KDE project.
00006  * Copyright (C) 2006-2007 Sebastian Trueg <trueg@kde.org>
00007  *
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  * See the file "COPYING" for the exact licensing terms.
00013  */
00014 
00015 #ifndef _REPOSITORY_H_
00016 #define _REPOSITORY_H_
00017 
00018 #include <QtCore/QString>
00019 #include <QtCore/QMap>
00020 
00021 namespace Soprano {
00022     class Model;
00023     namespace Index {
00024     class IndexFilterModel;
00025     class CLuceneIndex;
00026     }
00027 }
00028 
00029 namespace Nepomuk {
00030 
00031     class Repository
00032     {
00033     public:
00034     ~Repository();
00035 
00036     QString name() const { return m_name; }
00037     Soprano::Model* model() const;
00038 
00039     static Repository* open( const QString& path, const QString& name );
00040 
00041     private:
00042     Repository();
00043 
00044     QString m_name;
00045     Soprano::Model* m_model;
00046     Soprano::Index::CLuceneIndex* m_index;
00047     Soprano::Index::IndexFilterModel* m_indexModel;
00048     };
00049 
00050     typedef QMap<QString, Repository*> RepositoryMap;
00051 }
00052 
00053 #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.4
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