Heart 1.4.918.d927d9c
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-2025 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#include <quasarapp.h>
15
16namespace QH {
17
18using namespace PKG;
19
21 SqlDBWriter(new QThread()) {
22 thread()->setObjectName("AsyncSqlDbWriter");
23 thread()->start();
24}
25
27 thread()->quit();
28 thread()->wait();
29
30 thread()->deleteLater();
31}
32}
SqlDBWriter(QThread *thread)
The PKG namesapce - 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