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
5#include <QtWaylandClient/private/qwaylanddecorationplugin_p.h>
6
8
10
11using namespace Qt::StringLiterals;
12
13namespace QtWaylandClient {
14
16{
17 Q_OBJECT
18 Q_PLUGIN_METADATA(IID QWaylandDecorationFactoryInterface_iid FILE "adwaita.json")
19public:
21};
22
23QWaylandAbstractDecoration *QWaylandAdwaitaDecorationPlugin::create(const QString &key, const QStringList &params)
24{
25 Q_UNUSED(params);
26 if (!key.compare("adwaita"_L1, Qt::CaseInsensitive) ||
27 !key.compare("gnome"_L1, Qt::CaseInsensitive))
29 return nullptr;
30}
31
32}
33
34QT_END_NAMESPACE
35
36#include "main.moc"