akonadi
#include <tag.h>
|
static const char * | PLAIN = "PLAIN" |
|
An Akonadi Tag.
Definition at line 43 of file tag.h.
◆ Id
typedef qint64 Akonadi::Tag::Id |
Definition at line 47 of file tag.h.
◆ List
typedef QList<Tag> Akonadi::Tag::List |
Definition at line 46 of file tag.h.
◆ Tag() [1/4]
◆ Tag() [2/4]
◆ Tag() [3/4]
Tag::Tag |
( |
const QString & | name | ) |
|
|
explicit |
Creates a PLAIN tag.
Definition at line 56 of file tag.cpp.
◆ Tag() [4/4]
Tag::Tag |
( |
const Tag & | other | ) |
|
◆ ~Tag()
◆ fromUrl()
Tag Tag::fromUrl |
( |
const KUrl & | url | ) |
|
|
static |
◆ gid()
QByteArray Tag::gid |
( |
| ) |
const |
◆ id()
Tag::Id Tag::id |
( |
| ) |
const |
Returns the unique identifier of the tag.
Definition at line 131 of file tag.cpp.
◆ isImmutable()
bool Tag::isImmutable |
( |
| ) |
const |
Returns true if the tag is immutable (cannot be modified after creation).
Note that the immutability does not affect the attributes.
Definition at line 201 of file tag.cpp.
◆ isValid()
bool Tag::isValid |
( |
| ) |
const |
◆ name()
QString Tag::name |
( |
| ) |
const |
◆ operator=() [1/2]
◆ operator=() [2/2]
Tag & Tag::operator= |
( |
const Tag & | other | ) |
|
◆ operator==()
bool Tag::operator== |
( |
const Tag & | other | ) |
const |
◆ parent()
Tag Tag::parent |
( |
| ) |
const |
◆ remoteId()
QByteArray Tag::remoteId |
( |
| ) |
const |
◆ setGid()
void Tag::setGid |
( |
const QByteArray & | gid | ) |
const |
◆ setId()
void Tag::setId |
( |
Tag::Id | identifier | ) |
|
Sets the unique identifier
of the tag.
Definition at line 126 of file tag.cpp.
◆ setName()
void Tag::setName |
( |
const QString & | name | ) |
|
◆ setParent()
void Tag::setParent |
( |
const Tag & | parent | ) |
|
◆ setRemoteId()
void Tag::setRemoteId |
( |
const QByteArray & | remoteId | ) |
const |
◆ setType()
void Tag::setType |
( |
const QByteArray & | type | ) |
const |
◆ type()
QByteArray Tag::type |
( |
| ) |
const |
◆ url()
Returns the url of the tag.
Definition at line 118 of file tag.cpp.
◆ PLAIN
const char * Akonadi::Tag::PLAIN = "PLAIN" |
|
static |
The PLAIN type has the following properties:
- gid == displayName
- immutable
- no hierarchy (no parent)
PLAIN tags are general purpose tags that are easy to map by backends.
Definition at line 57 of file tag.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.