21 #include "src/database/database.h"
57 static const QMap<DbSummaryKey, QString>
databaseSummary(
const QString& db_path);
66 inline const static QString SQLITE_DRIVER = QStringLiteral(
"QSQLITE");
The DbSummary class collects summaries of entries and relevant data from the database.
Definition: dbsummary.h:45
static const QString summaryString(const QString &db_path)
returns a short summary string of the database, containing total time and date of last flight.
Definition: dbsummary.cpp:83
static const QMap< DbSummaryKey, QString > databaseSummary(const QString &db_path)
Return a summary of a database.
Definition: dbsummary.cpp:22
A namespace to collect constants and enums used throughout the application.
Definition: paths.cpp:3
DbSummaryKey
Enumerates the QHash keys used when summarising a database.
Definition: dbsummary.h:28