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