Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qqnxnavigatorpps.h
Go to the documentation of this file.
1// Copyright (C) 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 QQNXNAVIGATORPPS_H
5#define QQNXNAVIGATORPPS_H
6
8
10
11template <typename K, typename V> class QHash;
12
14{
16public:
17 explicit QQnxNavigatorPps(QObject *parent = nullptr);
19
20protected:
21 bool requestInvokeUrl(const QByteArray &encodedUrl) override;
22
23private:
24 bool openPpsConnection();
25
26 bool sendPpsMessage(const QByteArray &message, const QByteArray &data);
27 void parsePPS(const QByteArray &ppsData, QHash<QByteArray, QByteArray> &messageFields);
28
29 int m_fd;
30 static const char *navigatorControlPath;
31 static const size_t ppsBufferSize;
32};
33
35
36#endif // QQNXNAVIGATORPPS_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore
Definition qhash.h:818
\inmodule QtCore
Definition qobject.h:90
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:311
bool requestInvokeUrl(const QByteArray &encodedUrl) override
Combined button and popup list for selecting options.
GLuint GLsizei const GLchar * message
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define Q_OBJECT