Heart 1.3.842.34c2ab5
Heart is base back end library for your c++ Qt projects.
softdelete.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018-2024 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#ifndef SOFTDELETE_H
9#define SOFTDELETE_H
10#include "heart_global.h"
11
12namespace QH {
13
21public:
28 virtual ~SoftDelete();
29
34 void softDelete();
35
36protected:
42 virtual void prepareForDelete() = 0;
43
44private:
45 bool fSoftDelete = false;
46};
47}
48#endif // SOFTDELETE_H
The SoftDelete class povide the soft delete functionality. All child classes of this class must be de...
Definition softdelete.h:20
virtual void prepareForDelete()=0
prepareForDelete This method must be prepare object for delete. Override this for working main functi...
#define HEARTSHARED_EXPORT
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
Definition heart.cpp:13