Heart 1.4.984.b4712811
Heart is base back end library for your c++ Qt projects.
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
15namespace QH {
16
17using namespace PKG;
18
20 SqlDBWriter(new QThread()) {
21 thread()->setObjectName("AsyncSqlDbWriter");
22 thread()->start();
23}
24
26 thread()->quit();
27 thread()->wait();
28
29 thread()->deleteLater();
30}
31}
SqlDBWriter(QThread *thread)
The PKG namespace - this namespace contains all default packages of the Heart library....
Definition heart.h:211
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13