Akonadi::TagCache
#include <tagcache.h>
Additional Inherited Members | |
Properties inherited from QObject | |
objectName | |
Public Attributes inherited from QObject | |
typedef | QObjectList |
Protected Member Functions inherited from QObject | |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const QMetaMethod &signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const QMetaMethod &signal) |
bool | isSignalConnected (const QMetaMethod &signal) const const |
int | receivers (const char *signal) const const |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
Client-side cache of all exist tags.
This can be instantiated explicitly or used as a singleton for process-wide sharing.
- Since
- 5.20.43
Definition at line 32 of file tagcache.h.
Constructor & Destructor Documentation
◆ TagCache()
Definition at line 33 of file tagcache.cpp.
Member Function Documentation
◆ instance()
|
static |
Returns the singleton instance.
Definition at line 116 of file tagcache.cpp.
◆ setTagColor()
Sets the (background) color of the tag named tagName
to color
.
Definition at line 104 of file tagcache.cpp.
◆ tagByGid()
Akonadi::Tag TagCache::tagByGid | ( | const QByteArray & | gid | ) | const |
Returns the tag with the GID gid
, if available.
Definition at line 66 of file tagcache.cpp.
◆ tagByName()
Akonadi::Tag TagCache::tagByName | ( | const QString & | name | ) | const |
Returns the tag with the name name
, if available.
Definition at line 71 of file tagcache.cpp.
◆ tagColor()
Returns the (background) color of the tag named tagName
.
If there is no such tag, or the tag has no color associated, an invalid QColor value is returned.
Definition at line 90 of file tagcache.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:13:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.