Kirigami2

enums.h
1/*
2 * SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef ENUMS_H
8#define ENUMS_H
9
10#include <QObject>
11#include <QQmlEngine>
12
13namespace ApplicationHeaderStyle
14{
15Q_NAMESPACE
16QML_ELEMENT
17
18enum Status {
19 Auto = 0,
20 Breadcrumb,
21 Titles,
22 ToolBar, ///@since 5.48
23 None, ///@since 5.48
24};
25Q_ENUM_NS(Status)
26
27enum NavigationButton {
28 NoNavigationButtons = 0,
29 ShowBackButton = 0x1,
30 ShowForwardButton = 0x2,
31};
32Q_ENUM_NS(NavigationButton)
33Q_DECLARE_FLAGS(NavigationButtons, NavigationButton)
34}
35
36namespace MessageType
37{
38Q_NAMESPACE
39QML_ELEMENT
40
41enum Type {
42 Information = 0,
43 Positive,
44 Warning,
45 Error,
46};
47Q_ENUM_NS(Type)
48};
49
50#endif // ENUMS_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.