Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// Copyright (C) 2015-2016 Oleksandr Tymoshenko <gonzo@bluezbox.com>
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 <qpa/qplatformintegrationplugin.h>
6#include "qbsdfbintegration.h"
7
9
10using namespace Qt::StringLiterals;
11
13{
16public:
17 QPlatformIntegration *create(const QString&, const QStringList&) override;
18};
19
21{
22 Q_UNUSED(paramList);
23 if (!system.compare("bsdfb"_L1, Qt::CaseInsensitive))
24 return new QBsdFbIntegration(paramList);
25
26 return nullptr;
27}
28
30
31#include "main.moc"
32
QPlatformIntegration * create(const QString &, const QStringList &) override
Definition main.cpp:20
The QPlatformIntegration class is the entry for WindowSystem specific functionality.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
Definition qstring.cpp:6498
Combined button and popup list for selecting options.
@ CaseInsensitive
#define QPlatformIntegrationFactoryInterface_iid
#define Q_OBJECT
#define Q_PLUGIN_METADATA(x)
#define Q_UNUSED(x)
view create()