Heart
1.4.984.b4712811
Heart is base back end library for your c++ Qt projects.
Toggle main menu visibility
Loading...
Searching...
No Matches
asyncsqldbwriter.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018-2027 QuasarApp.
3
* Distributed under the lgplv3 software license, see the accompanying
4
* Everyone is permitted to copy and distribute verbatim copies
5
* of this license document, but changing it is not allowed.
6
*/
7
8
#include "
asyncsqldbwriter.h
"
9
10
#include <QDateTime>
11
#include <QMetaMethod>
12
#include <QThread>
13
#include <
dbobject.h
>
14
15
namespace
QH
{
16
17
using namespace
PKG
;
18
19
AsyncSqlDBWriter::AsyncSqlDBWriter
():
20
SqlDBWriter
(new QThread()) {
21
thread()->setObjectName(
"AsyncSqlDbWriter"
);
22
thread()->start();
23
}
24
25
AsyncSqlDBWriter::~AsyncSqlDBWriter
() {
26
thread()->quit();
27
thread()->wait();
28
29
thread()->deleteLater();
30
}
31
}
asyncsqldbwriter.h
QH::AsyncSqlDBWriter::~AsyncSqlDBWriter
~AsyncSqlDBWriter()
Definition
asyncsqldbwriter.cpp:25
QH::AsyncSqlDBWriter::AsyncSqlDBWriter
AsyncSqlDBWriter()
Definition
asyncsqldbwriter.cpp:19
QH::SqlDBWriter::SqlDBWriter
SqlDBWriter(QThread *thread)
Definition
sqldbwriter.cpp:252
dbobject.h
QH::PKG
The PKG namespace - this namespace contains all default packages of the Heart library....
Definition
heart.h:211
QH
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition
heart.cpp:13
src
public
asyncsqldbwriter.cpp
Generated by
1.18.0