Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
main.cpp
Go to the documentation of this file.
1// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "main.h"
5#include "qhaikuintegration.h"
6
8
9using namespace Qt::StringLiterals;
10
12{
13 if (!system.compare("haiku"_L1, Qt::CaseInsensitive))
14 return new QHaikuIntegration(paramList);
15
16 return nullptr;
17}
18
QPlatformIntegration * create(const QString &, const QStringList &) override
Definition main.cpp:11
The QPlatformIntegration class is the entry for WindowSystem specific functionality.
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
Definition qstring.cpp:6664
Combined button and popup list for selecting options.
@ CaseInsensitive