Nepomuk-Core
#include <resourceidentifier.h>
Public Member Functions | |
ResourceIdentifier (Nepomuk2::StoreIdentificationMode mode, Soprano::Model *model) | |
Public Member Functions inherited from Nepomuk2::Sync::ResourceIdentifier | |
ResourceIdentifier (Soprano::Model *model) | |
virtual | ~ResourceIdentifier () |
void | addSyncResource (const SyncResource &res) |
bool | identify (const KUrl &uri) |
void | identify (const KUrl::List &uriList) |
void | identifyAll () |
QHash< QUrl, QUrl > | mappings () const |
ResourceHash | resourceHash () const |
SyncResource | simpleResource (const KUrl &uri) |
Protected Member Functions | |
virtual KUrl | duplicateMatch (const KUrl &uri, const QSet< KUrl > &matchedUris) |
virtual bool | runIdentification (const KUrl &uri) |
Protected Member Functions inherited from Nepomuk2::Sync::ResourceIdentifier | |
void | manualIdentification (const KUrl &oldUri, const KUrl &newUri) |
Additional Inherited Members | |
Protected Attributes inherited from Nepomuk2::Sync::ResourceIdentifier | |
QSet< KUrl > | m_beingIdentified |
QHash< QUrl, QUrl > | m_hash |
Soprano::Model * | m_model |
QSet< KUrl > | m_notIdentified |
ResourceHash | m_resourceHash |
Detailed Description
Definition at line 31 of file resourceidentifier.h.
Constructor & Destructor Documentation
Nepomuk2::ResourceIdentifier::ResourceIdentifier | ( | Nepomuk2::StoreIdentificationMode | mode, |
Soprano::Model * | model | ||
) |
Definition at line 55 of file resourceidentifier.cpp.
Member Function Documentation
|
protectedvirtual |
Called during identification if there is more than one match for one resource.
The default behavior is to return an empty uri, which depicts identification failure
Reimplemented from Nepomuk2::Sync::ResourceIdentifier.
Definition at line 77 of file resourceidentifier.cpp.
|
protectedvirtual |
This function returns true if identification was successful, and false if it was not.
If you need to customize the identification process, you will need to overload this function.
Reimplemented from Nepomuk2::Sync::ResourceIdentifier.
Definition at line 122 of file resourceidentifier.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.