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
qwaylandivishellintegration.h
Go to the documentation of this file.
1// Copyright (C) 2017 ITAGE Corporation, author: <yusuke.binsaki@itage.co.jp>
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 QWAYLANDIVIINTEGRATION_H
5#define QWAYLANDIVIINTEGRATION_H
6
7#include <QtCore/qmutex.h>
8
9#include <QtWaylandClient/private/qwaylandshellintegration_p.h>
10#include "qwayland-ivi-application.h"
11#include "qwayland-ivi-controller.h"
12
14
15namespace QtWaylandClient {
16
17class QWaylandWindow;
18class QWaylandDisplay;
19class QWaylandIviController;
20
21class Q_WAYLANDCLIENT_EXPORT QWaylandIviShellIntegration
22 : public QWaylandShellIntegrationTemplate<QWaylandIviShellIntegration>,
23 public QtWayland::ivi_application
24{
25public:
27
28 bool initialize(QWaylandDisplay *display) override;
29 QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override;
30
31private:
32 uint32_t getNextUniqueSurfaceId();
33
34private:
35 QScopedPointer<QWaylandIviController> m_iviController;
36 uint32_t m_lastSurfaceId = 0;
37 uint32_t m_surfaceNumber = 0;
38 bool m_useEnvSurfaceId = false;
39 QRecursiveMutex m_mutex;
40};
41
42}
43
45
46#endif // QWAYLANDIVIINTEGRATION_H
\inmodule QtCore
Definition qmutex.h:309
struct wl_display * display
Definition linuxdmabuf.h:41
Combined button and popup list for selecting options.
static bool initialize()
Definition qctf.cpp:94
aWidget window() -> setWindowTitle("New Window Title")
[2]