The CDatabaseFile class.
More...
#include <Database.h>
The CDatabaseFile class.
- Note
- The file field is filename, don't include path.
Definition at line 93 of file Database.h.
◆ CDatabaseFile() [1/2]
| CDatabaseFile::CDatabaseFile |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ CDatabaseFile() [2/2]
| CDatabaseFile::CDatabaseFile |
( |
const QString & |
szPrefix, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ExportFileToJson()
| bool CDatabaseFile::ExportFileToJson |
( |
const QString & |
szFile, |
|
|
QJsonObject & |
obj |
|
) |
| |
|
static |
◆ ExportToJson()
| bool CDatabaseFile::ExportToJson |
( |
QJsonObject & |
obj | ) |
|
|
overridevirtual |
◆ ImportFileFromJson()
| bool CDatabaseFile::ImportFileFromJson |
( |
const QJsonObject & |
obj, |
|
|
QString & |
szFile |
|
) |
| |
|
static |
◆ ImportFileToDatabaseFromJson()
| bool CDatabaseFile::ImportFileToDatabaseFromJson |
( |
const QJsonObject & |
obj, |
|
|
QString & |
szFile |
|
) |
| |
◆ ImportFromJson()
| bool CDatabaseFile::ImportFromJson |
( |
const QJsonObject & |
obj | ) |
|
|
overridevirtual |
◆ Load()
| QByteArray CDatabaseFile::Load |
( |
const QString & |
szFile | ) |
|
Load.
- Parameters
-
- Note
- The file field in database is filename, don't include path.
Definition at line 636 of file Database.cpp.
◆ OnInitializeMySqlDatabase()
| bool CDatabaseFile::OnInitializeMySqlDatabase |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ OnInitializeSqliteDatabase()
| bool CDatabaseFile::OnInitializeSqliteDatabase |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ Save()
| bool CDatabaseFile::Save |
( |
const QString & |
szFile | ) |
|
Save.
- Parameters
-
- Note
- The file field in database is filename, don't include path.
Definition at line 659 of file Database.cpp.
◆ m_szTableName
| QString CDatabaseFile::m_szTableName |
|
private |
The documentation for this class was generated from the following files:
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/Database.h
- /home/runner/work/RabbitRemoteControl/RabbitRemoteControl/Src/Database.cpp