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.cpp
Go to the documentation of this file.
1// Copyright (C) 2023 Jan Grulich <jgrulich@redhat.com>
2// Copyright (C) 2023 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4// Qt-Security score:significant reason:default
5
6#include <QtWaylandClient/private/qwaylanddecorationplugin_p.h>
7
9
11
12using namespace Qt::StringLiterals;
13
14namespace QtWaylandClient {
15
17{
18 Q_OBJECT
19 Q_PLUGIN_METADATA(IID QWaylandDecorationFactoryInterface_iid FILE "adwaita.json")
20public:
22};
23
24QWaylandAbstractDecoration *QWaylandAdwaitaDecorationPlugin::create(const QString &key, const QStringList &params)
25{
26 Q_UNUSED(params);
27 if (!key.compare("adwaita"_L1, Qt::CaseInsensitive) ||
28 !key.compare("gnome"_L1, Qt::CaseInsensitive))
30 return nullptr;
31}
32
33}
34
35QT_END_NAMESPACE
36
37#include "main.moc"
Combined button and popup list for selecting options.