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
qhaikuservices.h
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#ifndef QHAIKUSERVICES_H
5#define QHAIKUSERVICES_H
6
7#include <qpa/qplatformservices.h>
8
10
12{
13public:
14 bool openUrl(const QUrl &url) override;
15 bool openDocument(const QUrl &url) override;
16
17 QByteArray desktopEnvironment() const override;
18};
19
21
22#endif
\inmodule QtCore
Definition qbytearray.h:57
QByteArray desktopEnvironment() const override
QPlatformServices::desktopEnvironment returns the active desktop environment.
bool openDocument(const QUrl &url) override
bool openUrl(const QUrl &url) override
The QPlatformServices provides the backend for desktop-related functionality.
\inmodule QtCore
Definition qurl.h:94
Combined button and popup list for selecting options.
QUrl url("example.com")
[constructor-url-reference]