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
main.mm
Go to the documentation of this file.
1// Copyright (C) 2017 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#include <QtWidgets/qstyleplugin.h>
7
8#include <QtCore/private/qcore_mac_p.h>
9
11
13{
14 Q_OBJECT
15 Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QStyleFactoryInterface" FILE "macstyle.json")
16public:
18};
19
20QStyle *QMacStylePlugin::create(const QString &key)
21{
22 QMacAutoReleasePool pool;
23 if (key.compare(QLatin1String("macos"), Qt::CaseInsensitive) == 0)
25
26 return 0;
27}
28
29QT_END_NAMESPACE
30
31#include "main.moc"
static QMacStyle * create()
Combined button and popup list for selecting options.