Nepomuk-Core
Namespaces | |
Backup | |
DBus | |
Query | |
Search | |
Sync | |
Test | |
Types | |
Utils | |
Vocabulary | |
Typedefs | |
typedef org::kde::nepomuk::BackupManager | BackupManager |
typedef QMultiHash< QUrl, QVariant > | PropertyHash |
typedef QMap< QString, Repository * > | RepositoryMap |
Enumerations | |
enum | ErrorCode { NoError = 0, CommunicationError, InvalidType, UnknownError } |
enum | UpdateDirFlag { NoUpdateFlags = 0x0, UpdateRecursive = 0x1, AutoUpdateFolder = 0x2, ForceUpdate = 0x4 } |
Functions | |
KJob * | clearIndexedData (const QUrl &url) |
KJob * | clearIndexedData (const QList< QUrl > &urls) |
template<typename T > | |
QList< T > | convertResourceList (const QList< Resource > &l) |
template<typename T > | |
QList< Resource > | convertResourceList (const QList< T > &l) |
QHash< QString, QString > | createPrefixHash () |
QUrl | decodeUrl (const QString &urlsString) |
QList< QUrl > | decodeUrls (const QStringList &urlStrings) |
NEPOMUKCOMMON_EXPORT QStringList | defaultExcludeFilterList () |
NEPOMUKCOMMON_EXPORT int | defaultExcludeFilterListVersion () |
QString | encodeUrl (const QUrl &url) |
QString | errorString (ErrorCode code) |
QDataStream & | operator<< (QDataStream &, const Nepomuk2::SimpleResourceGraph &graph) |
QDebug | operator<< (QDebug dbg, const Nepomuk2::SimpleResourceGraph &graph) |
QDataStream & | operator<< (QDataStream &, const Nepomuk2::SimpleResource &) |
QDebug | operator<< (QDebug dbg, const Nepomuk2::SimpleResource &res) |
QDataStream & | operator>> (QDataStream &, Nepomuk2::SimpleResourceGraph &graph) |
QDataStream & | operator>> (QDataStream &, Nepomuk2::SimpleResource &) |
uint | qHash (const UpdateRequest &req) |
uint | qHash (const SimpleResource &res) |
uint | qHash (const Resource &res) |
template<typename T > | |
QStringList | resourcesToN3 (const T &urls) |
template<typename T > | |
QList< QList< T > > | splitList (const QList< T > &list, int max=MAX_SPLIT_LIST_ITEMS) |
void | updateIndexingLevel (const QUrl &uri, int level) |
Variables | |
const int | MAX_SPLIT_LIST_ITEMS = 20 |
QHash< QString, QString > | s_prefixHash |
Basic Data Managment API | |
enum | RemovalFlag { NoRemovalFlags = 0, RemoveSubResoures = 1 } |
KJob * | addProperty (const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | setProperty (const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | removeProperty (const QList< QUrl > &resources, const QUrl &property, const QVariantList &values, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | removeProperties (const QList< QUrl > &resources, const QList< QUrl > &properties, const KComponentData &component=KGlobal::mainComponent()) |
CreateResourceJob * | createResource (const QList< QUrl > &types, const QString &label, const QString &description, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | removeResources (const QList< QUrl > &resources, Nepomuk2::RemovalFlags flags=Nepomuk2::NoRemovalFlags, const KComponentData &component=KGlobal::mainComponent()) |
Advanced Data Managment API | |
enum | StoreIdentificationMode { IdentifyNew = 0, IdentifyNone = 2 } |
enum | StoreResourcesFlag { NoStoreResourcesFlags = 0x0, OverwriteProperties = 0x1, LazyCardinalities = 0x2, OverwriteAllProperties = 0x4, MergeDuplicateResources = 0x8 } |
enum | DescribeResourcesFlag { NoDescribeResourcesFlags = 0, ExcludeDiscardableData = 1, ExcludeRelatedResources = 2, AnonymizeNepomukUris = 4 } |
KJob * | removeDataByApplication (const QList< QUrl > &resources, Nepomuk2::RemovalFlags flags=Nepomuk2::NoRemovalFlags, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | removeDataByApplication (Nepomuk2::RemovalFlags flags=Nepomuk2::NoRemovalFlags, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | mergeResources (const QUrl &resource1, const QUrl &resource2, const KComponentData &component=KGlobal::mainComponent()) |
KJob * | mergeResources (const QList< QUrl > &resources, const KComponentData &component=KGlobal::mainComponent()) |
StoreResourcesJob * | storeResources (const Nepomuk2::SimpleResourceGraph &resources, Nepomuk2::StoreIdentificationMode identificationMode=Nepomuk2::IdentifyNew, Nepomuk2::StoreResourcesFlags flags=Nepomuk2::NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=QHash< QUrl, QVariant >(), const KComponentData &component=KGlobal::mainComponent()) |
KJob * | importResources (const KUrl &url, Soprano::RdfSerialization serialization, const QString &userSerialization=QString(), StoreIdentificationMode identificationMode=IdentifyNew, StoreResourcesFlags flags=NoStoreResourcesFlags, const QHash< QUrl, QVariant > &additionalMetadata=QHash< QUrl, QVariant >(), const KComponentData &component=KGlobal::mainComponent()) |
DescribeResourcesJob * | describeResources (const QList< QUrl > &resources, DescribeResourcesFlags flags=NoDescribeResourcesFlags, const QList< QUrl > &targetParties=QList< QUrl >()) |
Typedef Documentation
typedef org::kde::nepomuk::BackupManager Nepomuk2::BackupManager |
Definition at line 42 of file backupwizardpages.h.
typedef QMultiHash<QUrl, QVariant> Nepomuk2::PropertyHash |
Definition at line 37 of file simpleresource.h.
typedef QMap<QString, Repository*> Nepomuk2::RepositoryMap |
Definition at line 134 of file repository.h.
Enumeration Type Documentation
enum Nepomuk2::ErrorCode |
Enumerator | |
---|---|
NoError | |
CommunicationError |
A communication error, i.e. connection failure |
InvalidType | |
UnknownError |
Definition at line 44 of file resource.h.
Definition at line 30 of file basicindexingqueue.h.
Function Documentation
KJob * Nepomuk2::clearIndexedData | ( | const QUrl & | url | ) |
KJob * Nepomuk2::clearIndexedData | ( | const QList< QUrl > & | urls | ) |
QList<T> Nepomuk2::convertResourceList | ( | const QList< Resource > & | l | ) |
QList<Resource> Nepomuk2::convertResourceList | ( | const QList< T > & | l | ) |
QUrl Nepomuk2::decodeUrl | ( | const QString & | urlsString | ) |
Definition at line 96 of file datamanagementcommand.cpp.
QList< QUrl > Nepomuk2::decodeUrls | ( | const QStringList & | urlStrings | ) |
Definition at line 103 of file datamanagementcommand.cpp.
QStringList Nepomuk2::defaultExcludeFilterList | ( | ) |
- Returns
- A list of default exclude filters to be used in the filewatch service to ignore temporary files and folders that change a lot and as a basis for the user configurable exclude filters in the strigi service.
Definition at line 103 of file fileexcludefilters.cpp.
int Nepomuk2::defaultExcludeFilterListVersion | ( | ) |
- Returns
- The version of the default exclude filter list. This is increased whenever the list changes.
Definition at line 113 of file fileexcludefilters.cpp.
QString Nepomuk2::encodeUrl | ( | const QUrl & | url | ) |
Definition at line 113 of file datamanagementcommand.cpp.
QString Nepomuk2::errorString | ( | ErrorCode | code | ) |
- Returns
- A human-readble string.
Definition at line 489 of file resource.cpp.
QDataStream & Nepomuk2::operator<< | ( | QDataStream & | , |
const Nepomuk2::SimpleResourceGraph & | graph | ||
) |
Definition at line 299 of file simpleresourcegraph.cpp.
QDebug Nepomuk2::operator<< | ( | QDebug | dbg, |
const Nepomuk2::SimpleResourceGraph & | graph | ||
) |
Definition at line 289 of file simpleresourcegraph.cpp.
QDataStream & Nepomuk2::operator<< | ( | QDataStream & | , |
const Nepomuk2::SimpleResource & | |||
) |
Definition at line 307 of file simpleresource.cpp.
QDebug Nepomuk2::operator<< | ( | QDebug | dbg, |
const Nepomuk2::SimpleResource & | res | ||
) |
Definition at line 302 of file simpleresource.cpp.
QDataStream & Nepomuk2::operator>> | ( | QDataStream & | , |
Nepomuk2::SimpleResourceGraph & | graph | ||
) |
Definition at line 305 of file simpleresourcegraph.cpp.
QDataStream & Nepomuk2::operator>> | ( | QDataStream & | , |
Nepomuk2::SimpleResource & | |||
) |
Definition at line 313 of file simpleresource.cpp.
uint Nepomuk2::qHash | ( | const UpdateRequest & | req | ) |
Definition at line 26 of file updaterequest.cpp.
uint Nepomuk2::qHash | ( | const SimpleResource & | res | ) |
Definition at line 297 of file simpleresource.cpp.
uint Nepomuk2::qHash | ( | const Resource & | res | ) |
Definition at line 767 of file resource.cpp.
QStringList Nepomuk2::resourcesToN3 | ( | const T & | urls | ) |
Convert a list or set or QUrls into a list of N3 formatted strings.
Definition at line 35 of file nepomuktools.h.
QList<QList<T> > Nepomuk2::splitList | ( | const QList< T > & | list, |
int | max = MAX_SPLIT_LIST_ITEMS |
||
) |
Split a list into several lists, each not containing more than max
items.
Definition at line 46 of file nepomuktools.h.
void Nepomuk2::updateIndexingLevel | ( | const QUrl & | uri, |
int | level | ||
) |
Variable Documentation
const int Nepomuk2::MAX_SPLIT_LIST_ITEMS = 20 |
Definition at line 30 of file nepomuktools.h.
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.