Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qhaikuintegration.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 QHAIKUINTEGRATION_H
5#define QHAIKUINTEGRATION_H
6
7#include <qpa/qplatformintegration.h>
8
10
11class QHaikuClipboard;
12class QHaikuScreen;
13class QHaikuServices;
14
16{
17public:
18 explicit QHaikuIntegration(const QStringList &paramList);
20
21 bool hasCapability(QPlatformIntegration::Capability cap) const override;
22
23 QPlatformWindow *createPlatformWindow(QWindow *window) const override;
24 QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
26
27 QPlatformFontDatabase *fontDatabase() const override;
28 QPlatformServices *services() const override;
29
30#ifndef QT_NO_CLIPBOARD
31 QPlatformClipboard *clipboard() const override;
32#endif
33
34private:
35 QHaikuClipboard *m_clipboard;
36 QHaikuScreen *m_screen;
37 mutable QHaikuServices *m_services = nullptr;
38};
39
40QT_END_NAMESPACE
41
42#endif
bool hasCapability(QPlatformIntegration::Capability cap) const override
QHaikuIntegration(const QStringList &paramList)
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
QPlatformClipboard * clipboard() const override
Accessor for the platform integration's clipboard.
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QPlatformServices * services() const override