Akonadi

schema.h
1/***************************************************************************
2 * SPDX-FileCopyrightText: 2013 Volker Krause <vkrause@kde.org> *
3 * *
4 * SPDX-License-Identifier: LGPL-2.0-or-later *
5 ***************************************************************************/
6
7#pragma once
8
9#include "schematypes.h"
10
11namespace Akonadi
12{
13namespace Server
14{
15/** Methods to access the desired database schema (@see DbInspector for accessing
16 the actual database schema).
17 */
18class Schema
19{
20public:
21 inline virtual ~Schema() = default;
22
23 /** List of tables in the schema. */
25
26 /** List of relations (N:M helper tables) in the schema. */
28
29protected:
30 explicit Schema() = default;
31
32private:
33 Q_DISABLE_COPY_MOVE(Schema)
34};
35
36} // namespace Server
37} // namespace Akonadi
Methods to access the desired database schema (.
Definition schema.h:19
virtual QList< RelationDescription > relations()=0
List of relations (N:M helper tables) in the schema.
virtual QList< TableDescription > tables()=0
List of tables in the schema.
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:31:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.