KWin
Loading...
Searching...
No Matches
textinput.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 Bhushan Shah <bshah@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6#pragma once
7
8#include <QMetaType>
9#include <QtGlobal>
10
11namespace KWin
12{
13
21 None = 0,
25 AutoCompletion = 1 << 0,
29 AutoCorrection = 1 << 1,
33 AutoCapitalization = 1 << 2,
37 LowerCase = 1 << 3,
41 UpperCase = 1 << 4,
45 TitleCase = 1 << 5,
49 HiddenText = 1 << 6,
53 SensitiveData = 1 << 7,
57 Latin = 1 << 8,
61 MultiLine = 1 << 9,
62};
63
64Q_DECLARE_FLAGS(TextInputContentHints, TextInputContentHint)
65
66
76 Normal,
80 Alpha,
84 Digits,
88 Number,
92 Phone,
96 Url,
100 Email,
104 Name,
108 Password,
112 Date,
116 Time,
120 DateTime,
124 Terminal,
128 Pin,
129};
130
136
140 Other,
141};
142}
143
145Q_DECLARE_METATYPE(KWin::TextInputContentHints)
146Q_DECLARE_OPERATORS_FOR_FLAGS(KWin::TextInputContentHints)
Q_DECLARE_METATYPE(KWin::SwitchEvent::State)
TextInputContentHint
Definition textinput.h:17
@ None
Definition options.h:37
TextInputChangeCause
Definition textinput.h:131
TextInputContentPurpose
Definition textinput.h:72