blob: 8e5f3d52f1405fe30f8ec71bc5093db9fce66f66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef QHAIKUINTEGRATION_H
#define QHAIKUINTEGRATION_H
#include <qpa/qplatformintegration.h>
QT_BEGIN_NAMESPACE
class QHaikuClipboard;
class QHaikuScreen;
class QHaikuServices;
class QHaikuIntegration : public QPlatformIntegration
{
public:
explicit QHaikuIntegration(const QStringList ¶mList);
~QHaikuIntegration();
bool hasCapability(QPlatformIntegration::Capability cap) const override;
QPlatformWindow *createPlatformWindow(QWindow *window) const override;
QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
QAbstractEventDispatcher *createEventDispatcher() const override;
QPlatformFontDatabase *fontDatabase() const override;
QPlatformServices *services() const override;
#ifndef QT_NO_CLIPBOARD
QPlatformClipboard *clipboard() const override;
#endif
private:
QHaikuClipboard *m_clipboard;
QHaikuScreen *m_screen;
QHaikuServices *m_services;
};
QT_END_NAMESPACE
#endif
|