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
10QT_BEGIN_NAMESPACE
11
12class QQnxNavigatorEventHandler;
13class QSocketNotifier;
14
16{
18public:
21
22public Q_SLOTS:
23 void start();
24
25private Q_SLOTS:
26 void readData();
27
28private:
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
41QT_END_NAMESPACE
42
43#endif // QQNXNAVIGATOREVENTNOTIFIER_H