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
qintegrityfbintegration.h
Go to the documentation of this file.
1// Copyright (C) 2017 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 QINTEGRITYFBINTEGRATION_H
5#define QINTEGRITYFBINTEGRATION_H
6
7#include <qpa/qplatformintegration.h>
8#include <qpa/qplatformnativeinterface.h>
9
10QT_BEGIN_NAMESPACE
11
12class QAbstractEventDispatcher;
14
16{
17public:
18 QIntegrityFbIntegration(const QStringList &paramList);
20
21 void initialize() override;
22 bool hasCapability(QPlatformIntegration::Capability cap) const override;
23
24 QPlatformWindow *createPlatformWindow(QWindow *window) const override;
25 QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
26
27 QAbstractEventDispatcher *createEventDispatcher() const override;
28
29 QPlatformFontDatabase *fontDatabase() const override;
30 QPlatformServices *services() const override;
31 QPlatformInputContext *inputContext() const override { return m_inputContext; }
32
34
35 QList<QPlatformScreen *> screens() const;
36
37private:
38 void createInputHandlers();
39
40 QIntegrityFbScreen *m_primaryScreen;
41 QPlatformInputContext *m_inputContext;
42 QScopedPointer<QPlatformFontDatabase> m_fontDb;
43 mutable QScopedPointer<QPlatformServices> m_services;
44 QScopedPointer<QPlatformNativeInterface> m_nativeInterface;
45};
46
47QT_END_NAMESPACE
48
49#endif // QINTEGRITYFBINTEGRATION_H
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
QIntegrityFbIntegration(const QStringList &paramList)
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
QList< QPlatformScreen * > screens() const
QPlatformServices * services() const override
bool hasCapability(QPlatformIntegration::Capability cap) const override
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
QPlatformNativeInterface * nativeInterface() const override