Akonadi::Server::Entity
Akonadi::Server::Entity Class Reference
#include <entity.h>
Public Types | |
using | Id = qint64 |
enum | RelationSide { Left, Right } |
Static Public Member Functions | |
template<typename T > | |
static bool | addToRelation (qint64 leftId, qint64 rightId) |
template<typename T > | |
static bool | clearRelation (qint64 id, RelationSide side=Left) |
template<typename T > | |
static int | count (const QString &column, const QVariant &value) |
template<typename T > | |
static QString | joinByName (const QVector< T > &list, const QString &sep) |
template<typename T > | |
static bool | relatesTo (qint64 leftId, qint64 rightId) |
template<typename T > | |
static bool | remove (const QString &column, const QVariant &value) |
template<typename T > | |
static bool | removeFromRelation (qint64 leftId, qint64 rightId) |
Protected Member Functions | |
Entity (qint64 id) | |
qint64 | id () const |
bool | isValid () const |
void | setId (qint64 id) |
Detailed Description
Base class for classes representing database records.
It also contains low-level data access and manipulation template methods.
Member Function Documentation
◆ addToRelation()
template<typename T >
|
inlinestatic |
◆ clearRelation()
template<typename T >
|
inlinestatic |
◆ count()
◆ relatesTo()
template<typename T >
|
inlinestatic |
◆ remove()
◆ removeFromRelation()
template<typename T >
|
inlinestatic |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.