Krita Source Code Documentation
Loading...
Searching...
No Matches
KisToolBarStateModel.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2023 Dmitry Kazakov <dimula73@gmail.com>
3 *
4 * SPDX-License-Identifier: GPL-2.0-or-later
5 */
6
7#ifndef KISTOOLBARSTATEMODEL_H
8#define KISTOOLBARSTATEMODEL_H
9
10#include <kritawidgetutils_export.h>
11
12#include <QObject>
13
14#include <lager/state.hpp>
15#include <lager/extra/qt.hpp>
16
17
18class KRITAWIDGETUTILS_EXPORT KisToolBarStateModel : public QObject
19{
20 Q_OBJECT
21public:
23
24private:
25 lager::state<bool, lager::automatic_tag> m_toolBarsLocked;
26
27public:
28 LAGER_QT_CURSOR(bool, toolBarsLocked);
29};
30
31#endif // KISTOOLBARSTATEMODEL_H
lager::state< bool, lager::automatic_tag > m_toolBarsLocked
LAGER_QT_CURSOR(bool, toolBarsLocked)