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

Nepomuk

thing.h

Go to the documentation of this file.
00001 /*
00002  * This file is part of the Nepomuk KDE project.
00003  * Copyright (C) 2008-2009 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_THING_H_
00022 #define _NEPOMUK_THING_H_
00023 
00024 #include "resource.h"
00025 #include "nepomuk_export.h"
00026 
00027 // FIXME: (Would it even make sense to check in Nepomuk::Resource if a resource is a pimo:Thing and if so,
00028 //         use the PIMO context? Or should we handle that through the Nepomuk::PimoThing class?)
00029 
00030 namespace Nepomuk {
00057     class NEPOMUK_EXPORT Thing : public Resource
00058     {
00059     public:
00070         Thing( const QUrl& uri = QUrl(), const QUrl& pimoType = QUrl() );
00071 
00080         Thing( const QUrl& uri, const QUrl& pimoType, ResourceManager* manager );
00081 
00094         Thing( const QString& uriOrName, const QUrl& pimoType = QUrl() );
00095 
00104         Thing( const QString& uriOrName, const QUrl& pimoType, ResourceManager* manager );
00105 
00109         Thing( const Thing& other );
00110 
00116         Thing( const Resource& other );
00117 
00121         Thing( ResourceData* );
00122 
00126         ~Thing();
00127 
00131         Thing& operator=( const Thing& res );
00132 
00136         Thing& operator=( const Resource& res );
00137 
00141         Thing& operator=( const QUrl& res );
00142 
00154         QList<Resource> groundingOccurrences() const;
00155 
00156         QList<Resource> referencingOccurrences() const;
00157 
00158         QList<Resource> occurrences() const;
00159 
00171 //        void merge( Thing other );
00172     };
00173 }
00174 
00175 #endif

Nepomuk

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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