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
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// Qt-Security score:significant reason:default
4
5#ifndef QQNXNAVIGATORPPS_H
6#define QQNXNAVIGATORPPS_H
7
9
11
12template <typename K, typename V> class QHash;
13
15{
17public:
18 explicit QQnxNavigatorPps(QObject *parent = nullptr);
20
21protected:
22 bool requestInvokeUrl(const QByteArray &encodedUrl) override;
23
24private:
25 bool openPpsConnection();
26
27 bool sendPpsMessage(const QByteArray &message, const QByteArray &data);
28 void parsePPS(const QByteArray &ppsData, QHash<QByteArray, QByteArray> &messageFields);
29
30 int m_fd;
31 static const char *navigatorControlPath;
32 static const size_t ppsBufferSize;
33};
34
35QT_END_NAMESPACE
36
37#endif // QQNXNAVIGATORPPS_H
bool requestInvokeUrl(const QByteArray &encodedUrl) override
Combined button and popup list for selecting options.