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// Qt-Security score:significant reason:default
4
5#ifndef QINTEGRITYFBINTEGRATION_H
6#define QINTEGRITYFBINTEGRATION_H
7
8#include <qpa/qplatformintegration.h>
9#include <qpa/qplatformnativeinterface.h>
10
11QT_BEGIN_NAMESPACE
12
13class QAbstractEventDispatcher;
15
17{
18public:
19 QIntegrityFbIntegration(const QStringList &paramList);
21
22 void initialize() override;
23 bool hasCapability(QPlatformIntegration::Capability cap) const override;
24
25 QPlatformWindow *createPlatformWindow(QWindow *window) const override;
26 QPlatformBackingStore *createPlatformBackingStore(QWindow *window) const override;
27
28 QAbstractEventDispatcher *createEventDispatcher() const override;
29
30 QPlatformFontDatabase *fontDatabase() const override;
31 QPlatformServices *services() const override;
32 QPlatformInputContext *inputContext() const override { return m_inputContext; }
33
35
36 QList<QPlatformScreen *> screens() const;
37
38private:
39 void createInputHandlers();
40
41 QIntegrityFbScreen *m_primaryScreen;
42 QPlatformInputContext *m_inputContext;
43 QScopedPointer<QPlatformFontDatabase> m_fontDb;
44 mutable QScopedPointer<QPlatformServices> m_services;
45 QScopedPointer<QPlatformNativeInterface> m_nativeInterface;
46};
47
48QT_END_NAMESPACE
49
50#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
Combined button and popup list for selecting options.