Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qlinuxfbintegration.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
QLINUXFBINTEGRATION_H
6
#
define
QLINUXFBINTEGRATION_H
7
8
#
include
<
qpa
/
qplatformintegration
.
h
>
9
#
include
<
qpa
/
qplatformnativeinterface
.
h
>
10
#
include
<
QtGui
/
private
/
qkeymapper_p
.
h
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QAbstractEventDispatcher;
15
class
QFbScreen
;
16
class
QFbVtHandler
;
17
class
QEvdevKeyboardManager
;
18
19
class
QLinuxFbIntegration
:
public
QPlatformIntegration
,
public
QPlatformNativeInterface
20
#
if
QT_CONFIG
(
evdev
)
21
,
public
QNativeInterface
::
Private
::
QEvdevKeyMapper
22
#
endif
23
{
24
public
:
25
QLinuxFbIntegration
(
const
QStringList ¶mList);
26
~
QLinuxFbIntegration
();
27
28
void
initialize
()
override
;
29
bool
hasCapability
(QPlatformIntegration::Capability cap)
const
override
;
30
31
QPlatformWindow
*
createPlatformWindow
(QWindow *window)
const
override
;
32
QPlatformBackingStore
*
createPlatformBackingStore
(QWindow *window)
const
override
;
33
34
QAbstractEventDispatcher *
createEventDispatcher
()
const
override
;
35
36
QPlatformFontDatabase
*
fontDatabase
()
const
override
;
37
QPlatformServices
*
services
()
const
override
;
38
QPlatformInputContext
*
inputContext
()
const
override
{
return
m_inputContext; }
39
40
QPlatformNativeInterface
*
nativeInterface
()
const
override
;
41
42
QList
<
QPlatformScreen
*>
screens
()
const
;
43
44
QFunctionPointer
platformFunction
(
const
QByteArray &function)
const
override
;
45
46
#
if
QT_CONFIG
(
evdev
)
47
void
loadKeymap
(
const
QString
&
filename
)
override
;
48
void
switchLang
()
override
;
49
#
endif
50
51
private
:
52
void
createInputHandlers();
53
54
QFbScreen
*m_primaryScreen;
55
QPlatformInputContext *m_inputContext;
56
QScopedPointer<QPlatformFontDatabase> m_fontDb;
57
mutable
QScopedPointer<QPlatformServices> m_services;
58
QScopedPointer<QFbVtHandler> m_vtHandler;
59
60
#
if
QT_CONFIG
(
evdev
)
61
QEvdevKeyboardManager
*
m_kbdMgr
=
nullptr
;
62
#
endif
63
};
64
65
QT_END_NAMESPACE
66
67
#
endif
// QLINUXFBINTEGRATION_H
QEvdevKeyboardManager
Definition
qevdevkeyboardmanager_p.h:30
QFbScreen
Definition
qfbscreen_p.h:30
QFbVtHandler
Definition
qfbvthandler_p.h:26
QLinuxFbIntegrationPlugin
Definition
main.cpp:13
QLinuxFbIntegration
Definition
qlinuxfbintegration.h:23
QLinuxFbIntegration::screens
QList< QPlatformScreen * > screens() const
Definition
qlinuxfbintegration.cpp:99
QLinuxFbIntegration::initialize
void initialize() override
Performs initialization steps that depend on having an event dispatcher available.
Definition
qlinuxfbintegration.cpp:59
QLinuxFbIntegration::createPlatformWindow
QPlatformWindow * createPlatformWindow(QWindow *window) const override
Factory function for QPlatformWindow.
Definition
qlinuxfbintegration.cpp:89
QLinuxFbIntegration::hasCapability
bool hasCapability(QPlatformIntegration::Capability cap) const override
Definition
qlinuxfbintegration.cpp:74
QLinuxFbIntegration::platformFunction
QFunctionPointer platformFunction(const QByteArray &function) const override
Definition
qlinuxfbintegration.cpp:149
QLinuxFbIntegration::QLinuxFbIntegration
QLinuxFbIntegration(const QStringList ¶mList)
Definition
qlinuxfbintegration.cpp:42
QLinuxFbIntegration::createPlatformBackingStore
QPlatformBackingStore * createPlatformBackingStore(QWindow *window) const override
Factory function for QPlatformBackingStore.
Definition
qlinuxfbintegration.cpp:84
QLinuxFbIntegration::createEventDispatcher
QAbstractEventDispatcher * createEventDispatcher() const override
Factory function for the GUI event dispatcher.
Definition
qlinuxfbintegration.cpp:94
QLinuxFbIntegration::fontDatabase
QPlatformFontDatabase * fontDatabase() const override
Accessor for the platform integration's fontdatabase.
Definition
qlinuxfbintegration.cpp:106
QLinuxFbIntegration::nativeInterface
QPlatformNativeInterface * nativeInterface() const override
Definition
qlinuxfbintegration.cpp:144
QLinuxFbIntegration::inputContext
QPlatformInputContext * inputContext() const override
Returns the platforms input context.
Definition
qlinuxfbintegration.h:38
QLinuxFbIntegration::services
QPlatformServices * services() const override
Definition
qlinuxfbintegration.cpp:111
QLinuxFbIntegration::~QLinuxFbIntegration
~QLinuxFbIntegration()
Definition
qlinuxfbintegration.cpp:54
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
plugins
platforms
linuxfb
qlinuxfbintegration.h
Generated on
for Qt by
1.18.0