Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qproxystyle_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// Qt-Security score:significant reason:default
4
5#ifndef QPROXYSTYLE_P_H
6#define QPROXYSTYLE_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of qapplication_*.cpp, qwidget*.cpp and qfiledialog.cpp. This header
14// file may change from version to version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtWidgets/private/qtwidgetsglobal_p.h>
20#include "qcommonstyle.h"
21#include "qcommonstyle_p.h"
22#include "qproxystyle.h"
23
24#include <QtCore/qpointer.h>
25
26#ifndef QT_NO_STYLE_PROXY
27
29
31{
32 Q_DECLARE_PUBLIC(QProxyStyle)
33public:
34 void ensureBaseStyle() const;
35private:
36 QProxyStylePrivate() :
37 QCommonStylePrivate(), baseStyle(nullptr) {}
38 mutable QPointer <QStyle> baseStyle;
39};
40
41QT_END_NAMESPACE
42
43#endif // QT_NO_STYLE_PROXY
44
45#endif //QPROXYSTYLE_P_H