digiKam
Loading...
Searching...
No Matches
undostate.h
Go to the documentation of this file.
1/* ============================================================
2 *
3 * This file is a part of digiKam project
4 * https://www.digikam.org
5 *
6 * Date : 2003-01-15
7 * Description : Undo state container
8 *
9 * SPDX-FileCopyrightText: 2004-2024 by Gilles Caulier <caulier dot gilles at gmail dot com>
10 *
11 * SPDX-License-Identifier: GPL-2.0-or-later
12 *
13 * ============================================================ */
14
15#pragma once
16
17namespace Digikam
18{
19
21{
22public:
23
24 UndoState() = default;
25 ~UndoState() = default;
26
27public:
28
29 bool hasUndo = false;
30 bool hasRedo = false;
31 bool hasChanges = false;
32 bool hasUndoableChanges = false;
33};
34
35} // namespace Digikam
Definition undostate.h:21
bool hasUndo
Definition undostate.h:29
~UndoState()=default
bool hasUndoableChanges
Definition undostate.h:32
bool hasChanges
Definition undostate.h:31
bool hasRedo
Definition undostate.h:30
Definition datefolderview.cpp:34