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
qqnxvirtualkeyboardpps.h
Go to the documentation of this file.
1
// Copyright (C) 2011 - 2012 Research In Motion
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
VIRTUALKEYBOARDPPS_H
6
#
define
VIRTUALKEYBOARDPPS_H
7
8
#
include
"qqnxabstractvirtualkeyboard.h"
9
#
include
<
QtCore
/
QLoggingCategory
>
10
11
#
include
<
sys
/
pps
.
h
>
12
13
QT_BEGIN_NAMESPACE
14
15
Q_DECLARE_LOGGING_CATEGORY(lcQpaQnxVirtualKeyboard);
16
17
class
QSocketNotifier;
18
19
class
QQnxVirtualKeyboardPps
:
public
QQnxAbstractVirtualKeyboard
20
{
21
Q_OBJECT
22
public
:
23
QQnxVirtualKeyboardPps
();
24
~
QQnxVirtualKeyboardPps
();
25
26
bool
showKeyboard
()
override
;
27
bool
hideKeyboard
()
override
;
28
29
public
Q_SLOTS
:
30
void
start
();
31
32
protected
:
33
void
applyKeyboardOptions
()
override
;
34
35
private
Q_SLOTS
:
36
void
ppsDataReady
();
37
38
private
:
39
// Will be called internally if needed.
40
bool
connect();
41
void
close();
42
bool
queryPPSInfo();
43
void
handleKeyboardInfoMessage();
44
45
const
char
* keyboardModeStr()
const
;
46
const
char
* enterKeyTypeStr()
const
;
47
48
bool
prepareToSend();
49
bool
writeCurrentPPSEncoder();
50
51
pps_encoder_t *m_encoder;
52
pps_decoder_t *m_decoder;
53
char
*m_buffer;
54
int
m_fd;
55
QSocketNotifier *m_readNotifier;
56
57
// Path to keyboardManager in PPS.
58
static
const
char
*ms_PPSPath;
59
static
const
size_t ms_bufferSize;
60
};
61
62
QT_END_NAMESPACE
63
64
#
endif
// VIRTUALKEYBOARDPPS_H
QQnxVirtualKeyboardPps
Definition
qqnxvirtualkeyboardpps.h:20
QQnxVirtualKeyboardPps::~QQnxVirtualKeyboardPps
~QQnxVirtualKeyboardPps()
Definition
qqnxvirtualkeyboardpps.cpp:38
QQnxVirtualKeyboardPps::hideKeyboard
bool hideKeyboard() override
Definition
qqnxvirtualkeyboardpps.cpp:219
QQnxVirtualKeyboardPps::applyKeyboardOptions
void applyKeyboardOptions() override
Definition
qqnxvirtualkeyboardpps.cpp:249
QQnxVirtualKeyboardPps::showKeyboard
bool showKeyboard() override
Definition
qqnxvirtualkeyboardpps.cpp:197
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_LOGGING_CATEGORY
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
qtbase
src
plugins
platforms
qnx
qqnxvirtualkeyboardpps.h
Generated on
for Qt by
1.18.0