Public Member Functions |
| Tag () |
| Tag (ResourceManager *manager) |
| Tag (const Tag &) |
| Tag (const Resource &) |
| Tag (const QString &uriOrIdentifier) |
| Tag (const QString &uriOrIdentifier, ResourceManager *manager) |
| Tag (const QUrl &uri) |
| Tag (const QUrl &uri, ResourceManager *manager) |
| ~Tag () |
Tag & | operator= (const Tag &) |
QList< Resource > | tagOf () const |
| Resource () |
| Resource (ResourceManager *manager) |
| Resource (const Resource &) |
| Resource (const QString &pathOrIdentifier, const QUrl &type=QUrl()) |
| Resource (const QString &pathOrIdentifier, const QUrl &type, ResourceManager *manager) |
| Resource (const QString &pathOrIdentifier, const QString &type) |
| Resource (const QUrl &uri, const QUrl &type=QUrl()) |
| Resource (const QUrl &uri, const QUrl &type, ResourceManager *manager) |
| Resource (ResourceData *) |
virtual | ~Resource () |
void | addAltLabel (const QString &value) |
void | addAnnotation (const Resource &value) |
void | addIdentifier (const QString &value) |
void | addIsRelated (const Resource &value) |
void | addIsTopicOf (const Resource &value) |
void | addProperty (const QUrl &uri, const Variant &value) |
void | addSymbol (const QString &value) |
void | addTag (const Tag &value) |
void | addTopic (const Resource &value) |
void | addType (const QUrl &type) |
QHash< QString, Variant > | allProperties () const |
QStringList | altLabels () const |
QList< Resource > | annotationOf () const |
QList< Resource > | annotations () const |
QString | className () const |
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 | hasProperty (const QString &uri) const |
bool | hasType (const QUrl &typeUri) const |
QStringList | identifiers () const |
void | increaseUsageCount () |
bool | isFile () const |
QList< Resource > | isRelatedOf () const |
QList< Resource > | isRelateds () const |
QList< Resource > | isTopicOfs () const |
bool | isValid () const |
QString | label () const |
ResourceManager * | manager () const |
bool | operator!= (const Resource &) const |
Resource & | operator= (const Resource &other) |
Resource & | operator= (const QUrl &uri) |
bool | operator== (const Resource &) const |
Thing | pimoThing () |
QHash< QUrl, Variant > | properties () const |
Variant | property (const QUrl &uri) const |
Variant | property (const QString &uri) const |
quint32 | rating () const |
void | remove () |
void | removeProperty (const QUrl &uri) |
void | removeProperty (const QUrl &uri, const Variant &value) |
void | removeProperty (const QString &uri) |
QUrl | resourceType () const |
QUrl | resourceUri () const |
void | setAltLabels (const QStringList &value) |
void | setAnnotations (const QList< Resource > &value) |
void | setDescription (const QString &value) |
void | setIdentifiers (const QStringList &value) |
void | setIsRelateds (const QList< Resource > &value) |
void | setIsTopicOfs (const QList< Resource > &value) |
void | setLabel (const QString &value) |
void | setProperty (const QUrl &uri, const Variant &value) |
void | setProperty (const QString &uri, const Variant &value) |
void | setRating (const quint32 &value) |
void | setSymbols (const QStringList &value) |
void | setTags (const QList< Tag > &value) |
void | setTopics (const QList< Resource > &value) |
void | setTypes (const QList< QUrl > &types) |
QStringList | symbols () const |
QList< Tag > | tags () const |
File | toFile () const |
QList< Resource > | topics () const |
QString | type () const |
QList< QUrl > | types () const |
QString | uri () const |
int | usageCount () const |
A Tag can be assigned to any Thing.
This allows simple grouping of resources. Each Tag is identifed by its label which should be unique.
- Author:
- Sebastian Trueg trueg.nosp@m.@kde.nosp@m..org
Definition at line 38 of file tag.h.