Nepomuk-Core
Nepomuk2::File Class Reference
  #include <Nepomuk2/File>
Inheritance diagram for Nepomuk2::File:

Public Member Functions | |
| File (const KUrl &url=KUrl()) | |
| File (const Resource &other) | |
| ~File () | |
| File | dirResource () const | 
| File & | operator= (const KUrl &url) | 
| KUrl | url () const | 
  Public Member Functions inherited from Nepomuk2::Resource | |
| Resource () | |
| Resource (const Resource &) | |
| Resource (const QString &pathOrIdentifier, const QUrl &type=QUrl()) | |
| Resource (const QUrl &uri, const QUrl &type=QUrl()) | |
| Resource (ResourceData *) | |
| virtual | ~Resource () | 
| void | addIdentifier (const QString &value) | 
| void | addIsRelated (const Resource &value) | 
| void | addProperty (const QUrl &uri, const Variant &value) | 
| void | addSymbol (const QString &value) | 
| void | addTag (const Tag &value) | 
| void | addType (const QUrl &type) | 
| QString | description () const | 
| bool | exists () const | 
| QString | genericDescription () const | 
| QString | genericIcon () const | 
| QString | genericLabel () const | 
| bool | hasProperty (const QUrl &uri) const | 
| bool | hasProperty (const Types::Property &p, const Variant &v) const | 
| bool | hasType (const QUrl &typeUri) const | 
| QStringList | identifiers () const | 
| void | increaseUsageCount () | 
| bool | isFile () const | 
| QList< Resource > | isRelatedOf () const | 
| QList< Resource > | isRelateds () const | 
| bool | isValid () const | 
| QString | label () const | 
| bool | operator!= (const Resource &) const | 
| Resource & | operator= (const Resource &other) | 
| Resource & | operator= (const QUrl &uri) | 
| bool | operator== (const Resource &) const | 
| QHash< QUrl, Variant > | properties () const | 
| Variant | property (const QUrl &uri) const | 
| quint32 | rating () const | 
| void | remove () | 
| void | removeProperty (const QUrl &uri) | 
| void | removeProperty (const QUrl &uri, const Variant &value) | 
| void | setDescription (const QString &value) | 
| void | setIdentifiers (const QStringList &value) | 
| void | setIsRelateds (const QList< Resource > &value) | 
| void | setLabel (const QString &value) | 
| void | setProperty (const QUrl &uri, const Variant &value) | 
| void | setRating (const quint32 &value) | 
| void | setSymbols (const QStringList &value) | 
| void | setTags (const QList< Tag > &value) | 
| void | setTypes (const QList< QUrl > &types) | 
| void | setWatchEnabled (bool status) | 
| QStringList | symbols () const | 
| QList< Tag > | tags () const | 
| File | toFile () const | 
| QUrl | type () const | 
| QList< QUrl > | types () const | 
| QUrl | uri () const | 
| int | usageCount () const | 
| bool | watchEnabled () | 
Additional Inherited Members | |
  Static Public Member Functions inherited from Nepomuk2::Resource | |
| static Resource | fromResourceUri (const KUrl &uri, const Nepomuk2::Types::Class &type=Nepomuk2::Types::Class()) | 
Detailed Description
A Nepomuk resource representing a file.
File is a convinience class which allows to easily handle file resources which are sort of a special case in Nepomuk.
- Since
 - 4.6
 
Constructor & Destructor Documentation
| Nepomuk2::File::File | ( | const KUrl & | url = KUrl() | ) | 
| Nepomuk2::File::File | ( | const Resource & | other | ) | 
Member Function Documentation
| Nepomuk2::File Nepomuk2::File::dirResource | ( | ) | const | 
| Nepomuk2::File & Nepomuk2::File::operator= | ( | const KUrl & | url | ) | 
| KUrl Nepomuk2::File::url | ( | ) | const | 
The documentation for this class was generated from the following files:
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.
    KDE API Reference
 Public Member Functions inherited from