Nepomuk
thing.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _NEPOMUK_THING_H_
00022 #define _NEPOMUK_THING_H_
00023
00024 #include "resource.h"
00025 #include "nepomuk_export.h"
00026
00027
00028
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
00172 };
00173 }
00174
00175 #endif