Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qkeysequence_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QKEYSEQUENCE_P_H
5#define QKEYSEQUENCE_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of qapplication_*.cpp, qwidget*.cpp and qfiledialog.cpp. This header
13// file may change from version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include "qkeysequence.h"
20
21#include <algorithm>
22
24
26
34
36{
37public:
38 static constexpr int MaxKeyCount = 4 ; // also used in QKeySequenceEdit
39 constexpr QKeySequencePrivate() : ref(1), key{} {}
48 // used in dbusmenu
51};
52
54
55#endif //QKEYSEQUENCE_P_H
\inmodule QtCore
Definition qatomic.h:112
constexpr QKeySequencePrivate()
static QString encodeString(QKeyCombination keyCombination, QKeySequence::SequenceFormat format)
static constexpr int MaxKeyCount
static Q_GUI_EXPORT QString keyName(Qt::Key key, QKeySequence::SequenceFormat format)
static QKeyCombination decodeString(QString accel, QKeySequence::SequenceFormat format)
QKeySequencePrivate(const QKeySequencePrivate &copy)
SequenceFormat
\value NativeText The key sequence as a platform specific string.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
static jboolean copy(JNIEnv *, jobject)
#define QT_MAKE_CHECKED_ARRAY_ITERATOR(x, N)
GLuint64 key
GLint ref
GLint GLsizei GLsizei GLenum format
#define QT_REQUIRE_CONFIG(feature)
unsigned char uchar
Definition qtypes.h:32
unsigned int uint
Definition qtypes.h:34
QKeyCombination shortcut
QKeySequence::StandardKey standardKey