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
qqnxnavigatoreventhandler.cpp
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
5
6#include "qqnxintegration.h"
7#include "qqnxscreen.h"
8
9#include <QDebug>
10#include <QGuiApplication>
11#include <qpa/qwindowsysteminterface.h>
12
13Q_LOGGING_CATEGORY(lcQpaQnxNavigatorEvents, "qt.qpa.qnx.navigator.events");
14
16
21
23{
24 // reply to navigator that (any) orientation is acceptable
25 // TODO: check if top window flags prohibit orientation change
26 qCDebug(lcQpaQnxNavigatorEvents, "angle=%d", angle);
27 return true;
28}
29
31{
32 // update screen geometry and reply to navigator that we're ready
33 qCDebug(lcQpaQnxNavigatorEvents, "angle=%d", angle);
35}
36
38{
39 qCDebug(lcQpaQnxNavigatorEvents) << Q_FUNC_INFO;
40
42}
43
45{
46 // shutdown everything
47 qCDebug(lcQpaQnxNavigatorEvents) << Q_FUNC_INFO;
49}
50
56
62
68
\inmodule QtCore
Definition qbytearray.h:57
static void quit()
\threadsafe
\inmodule QtCore
Definition qobject.h:103
void rotationChanged(int angle)
void windowGroupActivated(const QByteArray &id)
QQnxNavigatorEventHandler(QObject *parent=nullptr)
void windowGroupStateChanged(const QByteArray &id, Qt::WindowState state)
void handleWindowGroupStateChanged(const QByteArray &id, Qt::WindowState state)
void windowGroupDeactivated(const QByteArray &id)
void handleWindowGroupActivated(const QByteArray &id)
void handleWindowGroupDeactivated(const QByteArray &id)
else opt state
[0]
Combined button and popup list for selecting options.
WindowState
Definition qnamespace.h:251
#define Q_FUNC_INFO
#define Q_LOGGING_CATEGORY(name,...)
#define qCDebug(category,...)
GLenum GLuint id
[7]
GLfloat angle
#define Q_EMIT
#define emit