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
25
QT_BEGIN_NAMESPACE
26
27
namespace
QtWaylandClient
{
28
29
class
QWaylandDisplay;
30
31
class
Q_WAYLANDCLIENT_EXPORT
QWaylandPlatformServices
:
public
QGenericUnixServices
32
{
33
public
:
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
40
private
:
41
QWaylandDisplay
*m_display;
42
};
43
44
QT_END_NAMESPACE
45
46
}
// namespace QtWaylandClient
47
48
#endif
// QWAYLANDPLATFORMSERVICES_H
QGenericUnixServices
Definition
qgenericunixservices_p.h:27
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QUrl
\inmodule QtCore
Definition
qurl.h:94
QWindow
\inmodule QtGui
Definition
qwindow.h:63
QtWaylandClient::QWaylandDisplay
Definition
qwaylanddisplay_p.h:97
QtWaylandClient::QWaylandPlatformServices
Definition
qwaylandplatformservices_p.h:32
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QtWaylandClient
Definition
qwaylandclientextension.h:15
url
QUrl url("example.com")
[constructor-url-reference]
Definition
src_corelib_io_qurl.cpp:19
window
aWidget window() -> setWindowTitle("New Window Title")
[2]
qtwayland
src
client
qwaylandplatformservices_p.h
Generated by
1.10.0