4#include "include/file_io/abstract_file_manager.h"
6namespace ehm_dal::file_io {
16 inline QString
descriptor()
const override {
return QStringLiteral(
"database"); }
19 return QStringLiteral(
"EHM 1 Database (*.db)");
24 void closeAll()
override;
27 bool read(
const QString &path)
override;
30 bool write(
const QString &path)
override;
The AbstractFileManager class is a base class providing simple read and write file access to database...
Definition: abstract_file_manager.h:18
The DatabaseFileManager class provides simple read and write access to a database.
Definition: database_file_manager.h:11
QString fileFilterString() const override
Returns a list of supported file type filters for QFileDialog.
Definition: database_file_manager.h:17
QString descriptor() const override
Returns the file manager descriptor. E.g. This will return "database" for a database file manager.
Definition: database_file_manager.h:16