Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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#include <QtCore/QLoggingCategory>
9
11
12Q_DECLARE_LOGGING_CATEGORY(lcQpaQnxNavigator);
13
14template <typename K, typename V> class QHash;
15
17{
19public:
20 explicit QQnxNavigatorPps(QObject *parent = nullptr);
22
23protected:
24 bool requestInvokeUrl(const QByteArray &encodedUrl) override;
25
26private:
27 bool openPpsConnection();
28
29 bool sendPpsMessage(const QByteArray &message, const QByteArray &data);
30 void parsePPS(const QByteArray &ppsData, QHash<QByteArray, QByteArray> &messageFields);
31
32 int m_fd;
33 static const char *navigatorControlPath;
34 static const size_t ppsBufferSize;
35};
36
38
39#endif // QQNXNAVIGATORPPS_H
\inmodule QtCore
Definition qbytearray.h:57
\inmodule QtCore
Definition qhash.h:820
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
bool requestInvokeUrl(const QByteArray &encodedUrl) override
QQnxNavigatorPps(QObject *parent=nullptr)
Combined button and popup list for selecting options.
#define Q_DECLARE_LOGGING_CATEGORY(name)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLuint GLsizei const GLchar * message
#define Q_OBJECT