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 QPLATFORMTHEME_P_H
5#define QPLATFORMTHEME_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 purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#if QT_CONFIG(shortcut)
20# include "private/qkeysequence_p.h"
21#endif
22
23QT_BEGIN_NAMESPACE
24
25class QPalette;
26
27class Q_GUI_EXPORT QPlatformThemePrivate
28{
29public:
30 QPlatformThemePrivate();
31
32 virtual ~QPlatformThemePrivate();
33
34 void initializeSystemPalette();
35
36#if QT_CONFIG(shortcut)
37 static const QKeyBinding keyBindings[];
38 static const uint numberOfKeyBindings;
39#endif
40
41 static unsigned currentKeyPlatforms();
42
43 QPalette *systemPalette;
44
45 QString name;
46};
47
48QT_END_NAMESPACE
49
50#endif // QPLATFORMTHEME_P_H
51

source code of qtbase/src/gui/kernel/qplatformtheme_p.h