blob: 5c917e31aff871e28640b8f0bb0fef0434116269 (
plain)
123456789101112131415161718192021222324252627282930313233343536373839404142 | // 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:explicitQHaikuIntegration(const QStringList ¶mList);~QHaikuIntegration();boolhasCapability(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;#endifprivate: QHaikuClipboard *m_clipboard; QHaikuScreen *m_screen;mutable QHaikuServices *m_services =nullptr;}; QT_END_NAMESPACE #endif
|