KDeclarative

enums.h
1/*
2 SPDX-FileCopyrightText: 2014 David Edmundson <davidedmundson@kde.org>
3 SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de>
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6*/
7
8#pragma once
9
10#include "kquickcontrolsprivate_export.h"
11
12#include <QObject>
13
14namespace KeySequenceEnums
15{
16
17Q_NAMESPACE_EXPORT(KQUICKCONTROLSPRIVATE_EXPORT)
18enum ShortcutType {
19 None = 0x00, //!< No checking for conflicts
20 StandardShortcuts = 0x01, //!< Check against standard shortcuts. @see KStandardShortcut
21 GlobalShortcuts = 0x02, //!< Check against global shortcuts. @see KGlobalAccel
22};
23Q_ENUM_NS(ShortcutType);
24Q_DECLARE_FLAGS(ShortcutTypes, ShortcutType)
25Q_FLAG_NS(ShortcutTypes)
26};
27
28Q_DECLARE_OPERATORS_FOR_FLAGS(KeySequenceEnums::ShortcutTypes)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:51:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.