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
qwaylandplatformservices_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
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 QWAYLANDPLATFORMSERVICES_H
5#define QWAYLANDPLATFORMSERVICES_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/QObject>
19
20#include <QtGui/private/qgenericunixservices_p.h>
21
22#include <QtWaylandClient/private/qwayland-qt-windowmanager.h>
23#include <QtWaylandClient/qtwaylandclientglobal.h>
24
26
27namespace QtWaylandClient {
28
29class QWaylandDisplay;
30
31class Q_WAYLANDCLIENT_EXPORT QWaylandPlatformServices : public QGenericUnixServices
32{
33public:
34 explicit QWaylandPlatformServices(QWaylandDisplay *waylandDisplay);
35
36 bool openUrl(const QUrl &url) override;
37 bool openDocument(const QUrl &url) override;
38 QString portalWindowIdentifier(QWindow *window) override;
39
40private:
41 QWaylandDisplay *m_display;
42};
43
45
46} // namespace QtWaylandClient
47
48#endif // QWAYLANDPLATFORMSERVICES_H
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qurl.h:94
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
QUrl url("example.com")
[constructor-url-reference]
aWidget window() -> setWindowTitle("New Window Title")
[2]