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
qqnxnavigatoreventnotifier.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
QQNXNAVIGATOREVENTNOTIFIER_H
6
#
define
QQNXNAVIGATOREVENTNOTIFIER_H
7
8
#
include
<
QObject
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
QQnxNavigatorEventHandler;
13
class
QSocketNotifier;
14
15
class
QQnxNavigatorEventNotifier
:
public
QObject
16
{
17
Q_OBJECT
18
public
:
19
explicit
QQnxNavigatorEventNotifier
(
QQnxNavigatorEventHandler
*
eventHandler
,
QObject
*
parent
=
nullptr
);
20
~
QQnxNavigatorEventNotifier
();
21
22
public
Q_SLOTS
:
23
void
start
();
24
25
private
Q_SLOTS
:
26
void
readData
();
27
28
private
:
29
void
parsePPS(
const
QByteArray &ppsData, QByteArray &msg, QByteArray &dat, QByteArray &id);
30
void
replyPPS(
const
QByteArray &res,
const
QByteArray &id,
const
QByteArray &dat);
31
void
handleMessage(
const
QByteArray &msg,
const
QByteArray &dat,
const
QByteArray &id);
32
33
int
m_fd;
34
QSocketNotifier *m_readNotifier;
35
QQnxNavigatorEventHandler
*m_eventHandler;
36
37
static
const
char
*navigatorControlPath;
38
static
const
size_t ppsBufferSize;
39
};
40
41
QT_END_NAMESPACE
42
43
#
endif
// QQNXNAVIGATOREVENTNOTIFIER_H
QQnxNavigatorEventHandler
Definition
qqnxnavigatoreventhandler.h:16
QQnxNavigatorEventHandler::handleSwipeDown
void handleSwipeDown()
Definition
qqnxnavigatoreventhandler.cpp:38
QQnxNavigatorEventHandler::handleExit
void handleExit()
Definition
qqnxnavigatoreventhandler.cpp:45
QQnxNavigatorEventHandler::handleOrientationChange
void handleOrientationChange(int angle)
Definition
qqnxnavigatoreventhandler.cpp:31
QQnxNavigatorEventHandler::handleOrientationCheck
bool handleOrientationCheck(int angle)
Definition
qqnxnavigatoreventhandler.cpp:23
QQnxNavigatorEventNotifier
Definition
qqnxnavigatoreventnotifier.h:16
QQnxNavigatorEventNotifier::~QQnxNavigatorEventNotifier
~QQnxNavigatorEventNotifier()
Definition
qqnxnavigatoreventnotifier.cpp:34
qtbase
src
plugins
platforms
qnx
qqnxnavigatoreventnotifier.h
Generated on
for Qt by
1.16.1