Nepomuk-Core
syncresourceidentifier.h
Go to the documentation of this file.
ResourceHash m_resourceHash
Used to store all the identification statements.
Definition: syncresourceidentifier.h:124
QHash< QUrl, QUrl > mappings() const
Returns mappings of the identified uri.
Definition: syncresourceidentifier.cpp:279
QSet< KUrl > m_notIdentified
Definition: syncresourceidentifier.h:121
Soprano::Model * m_model
Definition: syncresourceidentifier.h:113
QSet< KUrl > m_beingIdentified
This contains all the urls that are being identified, at any moment.
Definition: syncresourceidentifier.h:131
virtual ~ResourceIdentifier()
Definition: syncresourceidentifier.cpp:56
QHash< QUrl, QUrl > m_hash
The main identification hash which maps external ResourceUris with the internal ones.
Definition: syncresourceidentifier.h:119
void identifyAll()
Definition: syncresourceidentifier.cpp:80
ResourceHash resourceHash() const
Definition: syncresourceidentifier.cpp:294
ResourceIdentifier(Soprano::Model *model)
Definition: syncresourceidentifier.cpp:51
void manualIdentification(const KUrl &oldUri, const KUrl &newUri)
Sets oldUri -> newUri in the mappings.
Definition: syncresourceidentifier.cpp:308
bool identify(const KUrl &uri)
Definition: syncresourceidentifier.cpp:86
void addSyncResource(const SyncResource &res)
Definition: syncresourceidentifier.cpp:62
virtual KUrl duplicateMatch(const KUrl &uri, const QSet< KUrl > &matchedUris)
Called during identification if there is more than one match for one resource.
Definition: syncresourceidentifier.cpp:299
virtual bool runIdentification(const KUrl &uri)
This function returns true if identification was successful, and false if it was not.
Definition: syncresourceidentifier.cpp:113
virtual bool isIdentifyingProperty(const QUrl &uri)=0
This class is used to identify already existing resources from a set of properties and objects...
Definition: syncresourceidentifier.h:56
SyncResource simpleResource(const KUrl &uri)
Definition: syncresourceidentifier.cpp:284
A SyncResource is a convenient way of storing a set of properties and objects for a common subject...
Definition: syncresource.h:53
A SyncResource is a convenient way of representing a list of Soprano::Statements or a Soprano::Graph...
Definition: syncresource.h:109
This file is part of the KDE documentation.
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
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.