Nepomuk
utils.h
Go to the documentation of this file.
103 NEPOMUKUTILS_EXPORT void finishCopyEvent( Nepomuk::Resource& eventResource, const QDateTime& endTime );
A property is a resource of type rdf:Property which relates a domain with a range.
Definition property.h:317
A property is a resource of type rdf:Property which relates a domain with a range.
Definition property.h:53
The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding,...
Definition variant.h:66
The Types namespace contains all classes used to handle ontology entities such as classes and propert...
The Utils namespace contains utility and convenience methods and classes that help the application de...
NEPOMUKUTILS_EXPORT QString formatPropertyValue(const Nepomuk::Types::Property &property, const Nepomuk::Variant &value, const QList< Nepomuk::Resource > &resources=QList< Nepomuk::Resource >(), PropertyFormatFlags flags=NoPropertyFormatFlags)
Format a property to be displayed to the user.
@ WithKioLinks
Include html links to Nepomuk resources, files, and Nepomuk queries.
Definition utils.h:57
NEPOMUKUTILS_EXPORT Nepomuk::Resource createCopyEvent(const KUrl &src, const KUrl &dest, const QDateTime &startTime=QDateTime(), const KUrl &referrer=KUrl())
Save a copy event in Nepomuk stating that src has been copied to dest with an optional download start...
NEPOMUKUTILS_EXPORT void finishCopyEvent(Nepomuk::Resource &eventResource, const QDateTime &endTime)
Save the end time of a copy event created via createCopyEvent().
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.